commit | 8a6d16c62602d249d2e66356faf5e2f4b8470c9e | [log] [tgz] |
---|---|---|
author | Phil Sturgeon <email@philsturgeon.co.uk> | Fri Apr 27 02:31:45 2012 -0700 |
committer | Phil Sturgeon <email@philsturgeon.co.uk> | Fri Apr 27 02:31:45 2012 -0700 |
tree | c8b5d83a5810988b47ef7777babfa96a7672e8b7 | |
parent | ced2c9ab41450cb632c042730604111ec2a24e1f [diff] | |
parent | 03edf58ea6c2a1b74f746a7b27b7305a0d33d3d6 [diff] |
Merge pull request #1298 from zivyuan/patch-1 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); }