diff options
| author | 2016-04-23 22:03:07 +0200 | |
|---|---|---|
| committer | 2016-04-23 22:03:07 +0200 | |
| commit | ae6ade25d59942a25c79155c90fc76fb22d08cea (patch) | |
| tree | 89a74359074cad1d62bc844ed3bc6be719c2ee3c /lib/Minz/Request.php | |
| parent | be4f588911c5ef4ad2108154fea0433a90b6e791 (diff) | |
| parent | b042d3a7728037db90a9306c61091be0a8ac42c4 (diff) | |
Merge branch 'http2_headers' into dev
Diffstat (limited to 'lib/Minz/Request.php')
| -rw-r--r-- | lib/Minz/Request.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Minz/Request.php b/lib/Minz/Request.php index 81457df9e..f80b707d6 100644 --- a/lib/Minz/Request.php +++ b/lib/Minz/Request.php @@ -137,12 +137,11 @@ class Minz_Request { /** * Return the base_url from configuration and add a suffix if given. * - * @param $base_url_suffix a string to add at base_url (default: empty string) * @return the base_url with a suffix. */ - public static function getBaseUrl($base_url_suffix = '') { + public static function getBaseUrl() { $conf = Minz_Configuration::get('system'); - $url = rtrim($conf->base_url, '/\\') . $base_url_suffix; + $url = rtrim($conf->base_url, '/\\'); return filter_var($url, FILTER_SANITIZE_URL); } |
