diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-20 21:36:46 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-20 21:36:46 +0100 |
commit | 0d87bae93d5558f03d8194df13020517e3e84364 (patch) | |
tree | 1568d9fc5923c0e8e31ce232e289e67abd48d948 /system/core/Security.php | |
parent | 1b5a85671bb28cdf87ef1c32c3d926a14a9409de (diff) | |
parent | 2f56fba915e35bcc7a36fbc047503d777decccd5 (diff) |
Merge upstream branch
Diffstat (limited to 'system/core/Security.php')
-rwxr-xr-x | system/core/Security.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/system/core/Security.php b/system/core/Security.php index cd8a61028..ac39ce97b 100755 --- a/system/core/Security.php +++ b/system/core/Security.php @@ -196,7 +196,15 @@ class CI_Security { return FALSE; } - setcookie($this->_csrf_cookie_name, $this->_csrf_hash, $expire, config_item('cookie_path'), config_item('cookie_domain'), $secure_cookie); + setcookie( + $this->_csrf_cookie_name, + $this->_csrf_hash, + $expire, + config_item('cookie_path'), + config_item('cookie_domain'), + $secure_cookie, + config_item('cookie_httponly') + ); log_message('debug', 'CRSF cookie Set'); return $this; |