From b00b8dc05a4a94bd8505f3510c8ebb99d33a7af5 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Fri, 7 Dec 2012 10:57:46 +0000 Subject: [PATCH] Added some checks around the configuration of PHP sessions since it seems to cause a lot of troubles. SVN:trunk[2549] --- setup/setuputils.class.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/setuputils.class.inc.php b/setup/setuputils.class.inc.php index e0a708f1d..eb3d81d14 100644 --- a/setup/setuputils.class.inc.php +++ b/setup/setuputils.class.inc.php @@ -302,6 +302,8 @@ class SetupUtils if (ini_get('session.save_handler') == 'files') { $sSavePath = ini_get('session.save_path'); + SetupPage::log("Info - session.save_path is: '$sSavePath'."); + // According to the PHP documentation, the format can be /path/where/to_save_sessions or "N;/path/where/to_save_sessions" or "N;MODE;/path/where/to_save_sessions" $sSavePath = ltrim(rtrim($sSavePath, '"'), '"'); // remove surrounding quotes (if any)