diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-19 11:09:38 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-19 11:09:38 +0100 |
commit | cf10de5aa03bd7c0036a8347f22ace3089779092 (patch) | |
tree | 63c403df162d5d94ec11eb8f86949d4016fe4e4e /application/config/config.php | |
parent | 25357cd7886b95d1e77b6a539a4588a265688874 (diff) | |
parent | 4ad0fd86e8dc6dba74305dbb0c88c593b46a19a2 (diff) |
Merge pull request #1182 from freewil/cookies-httponly
Cookies httponly
Diffstat (limited to 'application/config/config.php')
-rw-r--r-- | application/config/config.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/config/config.php b/application/config/config.php index 4ad9d1d6a..2ffbb6693 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -297,12 +297,14 @@ $config['sess_time_to_update'] = 300; | 'cookie_domain' = Set to .your-domain.com for site-wide cookies | 'cookie_path' = Typically will be a forward slash | 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists. +| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript) | */ $config['cookie_prefix'] = ""; $config['cookie_domain'] = ""; $config['cookie_path'] = "/"; $config['cookie_secure'] = FALSE; +$config['cookie_httponly'] = FALSE; /* |-------------------------------------------------------------------------- |