diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-20 14:38:49 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-20 14:38:49 +0100 |
commit | 151ba1c919af3316543b1871d3bd56cbb210fdca (patch) | |
tree | 5f8a65b0a074d2bc380267e46bd88e62c1f5cf20 /system/core/Security.php | |
parent | 6b47711e85671fcfe1bd08ce80d23ca2e91e8e55 (diff) | |
parent | 820999cb0d82c80d6dc5dde133568812c8113e29 (diff) |
Merge branch 'develop' of github.com:EllisLab/CodeIgniter into develop-helpers-acc
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; |