summaryrefslogtreecommitdiffstats
path: root/system/helpers/url_helper.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-07 05:16:53 +0200
committeradmin <devnull@localhost>2006-10-07 05:16:53 +0200
commit75198f97ba9df6e5696ac295820d9d73a4e4f441 (patch)
tree0ed58ab84c4a5f97808e2af8422f578e625300a8 /system/helpers/url_helper.php
parent88a8ad187b13b36d6120eae2344fe16c3a76219d (diff)
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');
}
// ------------------------------------------------------------------------