summaryrefslogtreecommitdiffstats
path: root/system/helpers/url_helper.php
diff options
context:
space:
mode:
authorAhmedul Haque Abid <a_h_abid@hotmail.com>2014-01-09 10:57:02 +0100
committerAhmedul Haque Abid <a_h_abid@hotmail.com>2014-01-09 10:57:02 +0100
commit34cf49043465e41ff776443edfd0e6888277bd14 (patch)
tree2afac8bc42f36dca1157209f30654010a99efca7 /system/helpers/url_helper.php
parentdf3bda56796ae27f98cd6b9fe5c7d9d3bcb756ac (diff)
parent27e91a07ed66308ba02833b104ca8ca6a05e7be8 (diff)
Merge branch 'develop' into feature/form_validation/custom_error_per_field
Diffstat (limited to 'system/helpers/url_helper.php')
-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());
}
}