mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 07:36:32 +02:00
Issue #688 - php runtime setting.
This commit is contained in:
@@ -2775,6 +2775,7 @@ class e107
|
|||||||
e107::ini_set('arg_separator.output', '&');
|
e107::ini_set('arg_separator.output', '&');
|
||||||
e107::ini_set('session.use_only_cookies', 1);
|
e107::ini_set('session.use_only_cookies', 1);
|
||||||
e107::ini_set('session.use_trans_sid', 0);
|
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
|
// Ensure thet '.' is the first part of the include path
|
||||||
$inc_path = explode(PATH_SEPARATOR, ini_get('include_path'));
|
$inc_path = explode(PATH_SEPARATOR, ini_get('include_path'));
|
||||||
|
Reference in New Issue
Block a user