diff --git a/system/libraries/Config.php b/system/libraries/Config.php
index f7f813f..532f70d 100644
--- a/system/libraries/Config.php
+++ b/system/libraries/Config.php
@@ -208,12 +208,12 @@
 		
 		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()