summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-04 09:11:16 +0200
committeradmin <devnull@localhost>2006-09-04 09:11:16 +0200
commit6cd2ee9a7aa926b607922d933abc3f21b9e3868e (patch)
tree5cc7159e29c1b3e90df1d5fb6a2c8f31e6a748c0 /system/libraries
parente6ed3d965a3148327302e6f6a22ea38a141d4be9 (diff)
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Config.php4
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()