diff options
author | admin <devnull@localhost> | 2006-09-04 09:11:16 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-04 09:11:16 +0200 |
commit | 6cd2ee9a7aa926b607922d933abc3f21b9e3868e (patch) | |
tree | 5cc7159e29c1b3e90df1d5fb6a2c8f31e6a748c0 /system/libraries/Config.php | |
parent | e6ed3d965a3148327302e6f6a22ea38a141d4be9 (diff) |
Diffstat (limited to 'system/libraries/Config.php')
-rw-r--r-- | system/libraries/Config.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Config.php b/system/libraries/Config.php index f7f813f86..532f70d42 100644 --- a/system/libraries/Config.php +++ b/system/libraries/Config.php @@ -208,12 +208,12 @@ class CI_Config { if ($uri == '') { - return $this->item('base_url', 1).$this->item('index_page'); + return $this->slash_item('base_url').$this->item('index_page'); } else { $suffix = ($this->item('url_suffix') == FALSE) ? '' : $this->item('url_suffix'); - return $this->item('base_url', 1).$this->item('index_page', 1).preg_replace("|^/*(.+?)/*$|", "\\1", $uri).$suffix; + return $this->slash_item('base_url').$this->slash_item('index_page').preg_replace("|^/*(.+?)/*$|", "\\1", $uri).$suffix; } } // END site_url() |