commit | 03edf58ea6c2a1b74f746a7b27b7305a0d33d3d6 | [log] [tgz] |
---|---|---|
author | ziv <ziv.yuan@gmail.com> | Fri Apr 27 15:09:04 2012 +0800 |
committer | ziv <ziv.yuan@gmail.com> | Fri Apr 27 15:09:04 2012 +0800 |
tree | d090d693edfb9c682a9b32fdf9a38e10ed3c5286 | |
parent | 61318a2c53c13a314f483fcbbfd64c6e01f5242c [diff] [blame] |
Update system/core/Input.php Fix a cookie get back problem. Cookie $index should start with a prefix.
diff --git a/system/core/Input.php b/system/core/Input.php index fc2a550..7594a2e 100755 --- a/system/core/Input.php +++ b/system/core/Input.php
@@ -226,6 +226,7 @@ */ public function cookie($index = '', $xss_clean = FALSE) { + $index = config_item('cookie_prefix').$index; return $this->_fetch_from_array($_COOKIE, $index, $xss_clean); }