summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-08 20:49:23 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-08 20:49:23 +0100
commit4ea76cc2216b19bfae38dbbfe7104c21ee278d81 (patch)
treef8b6c58a5549717d08e5dff2ab2f315ea92bb4d7 /system/helpers
parent50a9d863dd56a3667d8dfb4b8c66d8035bb26956 (diff)
Fix 2 errors caused by recent commits
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/url_helper.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php
index 2d9289791..f819b96e9 100644
--- a/system/helpers/url_helper.php
+++ b/system/helpers/url_helper.php
@@ -91,7 +91,8 @@ if ( ! function_exists('current_url'))
*/
function current_url()
{
- return get_instance()->config->site_url($CI->uri->uri_string());
+ $CI =& get_instance();
+ return $CI->config->site_url($CI->uri->uri_string());
}
}