diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Config.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/libraries/Config.php b/system/libraries/Config.php index 9bf3d5026..4ef278635 100644 --- a/system/libraries/Config.php +++ b/system/libraries/Config.php @@ -203,8 +203,7 @@ class CI_Config { else { $suffix = ($this->item('url_suffix') == FALSE) ? '' : $this->item('url_suffix'); -// return $this->slash_item('‘base_url').$this->slash_item('index_page').trim($uri, '/').$suffix; - return $this->slash_item('base_url').$this->slash_item('index_page').preg_replace("|^/*(.+?)/*$|", "\\1", $uri).$suffix; + return $this->slash_item('base_url').$this->slash_item('index_page').trim($uri, '/').$suffix; } } |