Skip to content

Commit

Permalink
Fix 2 errors caused by recent commits
Browse files Browse the repository at this point in the history
  • Loading branch information
narfbg committed Jan 8, 2014
1 parent 50a9d86 commit 4ea76cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion system/helpers/url_helper.php
Expand Up @@ -91,7 +91,8 @@ function base_url($uri = '', $protocol = NULL)
*/
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());
}
}

Expand Down
2 changes: 1 addition & 1 deletion system/libraries/Session/drivers/Session_cookie.php
Expand Up @@ -223,7 +223,7 @@ protected function initialize()
'encryption_key',
);

$this->_standardize_newlines = (bool) $config['standardize_newlines'];
$this->_standardize_newlines = (bool) config_item('standardize_newlines');

foreach ($prefs as $key)
{
Expand Down

0 comments on commit 4ea76cc

Please sign in to comment.