Optionally access mod cookie in JavaScript

This commit is contained in:
ctrlcctrlv authored and Michael Foster committed 2013-08-19 03:01:15 +10:00
1 parent 45bfd2a095
commit 47dec49465
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -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