commit | a04cfa77a3b113e5a9d858466bc9ae9f674081fb | [log] [tgz] |
---|---|---|
author | Derek Jones <derek.jones@ellislab.com> | Tue Feb 10 20:16:57 2009 +0000 |
committer | Derek Jones <derek.jones@ellislab.com> | Tue Feb 10 20:16:57 2009 +0000 |
tree | 89b774bb685248107fd60951a5aa28b18decc75d | |
parent | 2c8dc585dd4134e71a7356f99b6a0dac12bf9d1a [diff] |
didn't mean to completely remove the CI superobject from get_cookie...
diff --git a/system/helpers/cookie_helper.php b/system/helpers/cookie_helper.php index 77f86e4..8d892a5 100644 --- a/system/helpers/cookie_helper.php +++ b/system/helpers/cookie_helper.php
@@ -107,6 +107,8 @@ { function get_cookie($index = '', $xss_clean = FALSE) { + $CI =& get_instance(); + $prefix = ''; if ( ! isset($_COOKIE[$index]) && config_item('cookie_prefix') != '')