From 47dec494658566772a0bdf9c0f2a97113acfb481 Mon Sep 17 00:00:00 2001 From: ctrlcctrlv Date: Sun, 18 Aug 2013 01:44:36 +0000 Subject: Optionally access mod cookie in JavaScript --- inc/config.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc/config.php') diff --git a/inc/config.php b/inc/config.php index f0e3ea9f..ba336d48 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1070,6 +1070,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 -- cgit v1.3