summaryrefslogtreecommitdiffstats
path: root/system/helpers/url_helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers/url_helper.php')
-rw-r--r--system/helpers/url_helper.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php
index 6e2f7f452..2f93bcfbf 100644
--- a/system/helpers/url_helper.php
+++ b/system/helpers/url_helper.php
@@ -39,8 +39,8 @@
*/
function site_url($uri = '')
{
- $obj =& get_instance();
- return $obj->config->site_url($uri);
+ $CI =& get_instance();
+ return $CI->config->site_url($uri);
}
// ------------------------------------------------------------------------
@@ -55,8 +55,8 @@ function site_url($uri = '')
*/
function base_url()
{
- $obj =& get_instance();
- return $obj->config->slash_item('base_url');
+ $CI =& get_instance();
+ return $CI->config->slash_item('base_url');
}
// ------------------------------------------------------------------------
@@ -71,8 +71,8 @@ function base_url()
*/
function index_page()
{
- $obj =& get_instance();
- return $obj->config->item('index_page');
+ $CI =& get_instance();
+ return $CI->config->item('index_page');
}
// ------------------------------------------------------------------------