diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-20 14:35:50 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-20 14:35:50 +0100 |
commit | 160a4e5628aba8b5e35da784ec87037e133c1f05 (patch) | |
tree | 3ceec6e888a078bfe86ebfefe2e126f9b23f384f /system/core/Security.php | |
parent | ad97736d8249240cba802d33a24b7b11e02488cf (diff) | |
parent | 820999cb0d82c80d6dc5dde133568812c8113e29 (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; |