1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Issues #1254 #1208 #1211 #1245 Option to define the session.save_path (relative to e107's root directory) in e107_config.php: define('SESSION_SAVE_PATH','relative-path-to-folder');

example: define('SESSION_SAVE_PATH','../_sessions/');
Use the PHPInfo page in the admin area to check it has worked. Will only work if the path to the folder exists. session.hash_function is now set to sha512 by default when the security level is BALANCED or higher.
This commit is contained in:
Cameron
2015-11-30 14:30:37 -08:00
parent b54b5bbe3d
commit 84c4c8607d
2 changed files with 21 additions and 0 deletions

View File

@@ -69,6 +69,13 @@ $security_risks = array(
// $phpinfo = preg_replace("#^.*<body>#is", "", $phpinfo);
ob_end_clean();
if(deftrue('e_DEBUG'))
{
$mes->addDebug("Session ID: ".session_id());
}
$ns->tablerender("PHPInfo", $mes->render(). $phpinfo);
require_once("footer.php");
?>