commit | 4ea76cc2216b19bfae38dbbfe7104c21ee278d81 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Wed Jan 08 21:49:23 2014 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Wed Jan 08 21:49:23 2014 +0200 |
tree | f8b6c58a5549717d08e5dff2ab2f315ea92bb4d7 | |
parent | 50a9d863dd56a3667d8dfb4b8c66d8035bb26956 [diff] [blame] |
Fix 2 errors caused by recent commits
diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php index 2d92897..f819b96 100644 --- a/system/helpers/url_helper.php +++ b/system/helpers/url_helper.php
@@ -91,7 +91,8 @@ */ 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()); } }