Переглянути джерело

Added some checks around the configuration of PHP sessions since it seems to cause a lot of troubles.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2549 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 12 роки тому
батько
коміт
00dd5ffc15
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      setup/setuputils.class.inc.php

+ 2 - 0
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)