diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-08-18 01:44:36 +0000 |
|---|---|---|
| committer | ctrlcctrlv <wizardchan@hush.com> | 2013-08-18 01:44:36 +0000 |
| commit | 52fe0c8989a3ff5b3f79c8baed12318a87c0a550 (patch) | |
| tree | e0c34343254fbc85427a6256999fb878bed27301 /inc/config.php | |
| parent | 381cac2cb869a1a6f784deba069ff08ab769aeba (diff) | |
Optionally access mod cookie in JavaScript
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index e9e52aaf..c170bf0d 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1107,6 +1107,9 @@ // Replace ?/config with a simple text editor for editing inc/instance-config.php. $config['mod']['config_editor_php'] = false; + // Whether or not you can access the mod cookie in JavaScript. Most users should not need to change this. + $config['mod']['cookie_httponly'] = true; + /* * ==================== * Mod permissions |
