1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

Issue #688 - php runtime setting.

This commit is contained in:
Cameron
2015-02-21 12:07:22 -08:00
parent 3774f060ed
commit 3e2c4a437a

View File

@@ -2775,6 +2775,7 @@ class e107
e107::ini_set('arg_separator.output', '&');
e107::ini_set('session.use_only_cookies', 1);
e107::ini_set('session.use_trans_sid', 0);
e107::ini_set('session.cookie_httponly', 1); // cookie won't be accessible by scripting languages, such as JavaScript. Can effectively help to reduce identity theft through XSS attacks
// Ensure thet '.' is the first part of the include path
$inc_path = explode(PATH_SEPARATOR, ini_get('include_path'));