summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2009-08-25 21:15:05 +0200
committerDerek Allard <derek.allard@ellislab.com>2009-08-25 21:15:05 +0200
commit0835090ee5448f8ed8ba260d35c82abe24c81d50 (patch)
treeac82796de43bb60c33bb11981b4cf3a9c6697364 /system
parent30d5698f6643703fa0e4a66c70db6ebc8cfd0e2a (diff)
removed an unneeded regex
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Config.php3
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;
}
}