|
From: <pdo...@us...> - 2009-05-05 23:09:33
|
Revision: 13653
http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=13653&view=rev
Author: pdontthink
Date: 2009-05-05 23:09:28 +0000 (Tue, 05 May 2009)
Log Message:
-----------
session.auto_start is not compatible with 1.4.x in my tests; put a warning in configtest... trying to actually fix the problem by backporting 1.5.x code is complicated and may disrupt the stable codebase
Modified Paths:
--------------
branches/SM-1_4-STABLE/squirrelmail/src/configtest.php
Modified: branches/SM-1_4-STABLE/squirrelmail/src/configtest.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/src/configtest.php 2009-05-03 13:03:52 UTC (rev 13652)
+++ branches/SM-1_4-STABLE/squirrelmail/src/configtest.php 2009-05-05 23:09:28 UTC (rev 13653)
@@ -92,6 +92,16 @@
echo $IND . 'error_reporting: ' . ini_get('error_reporting') . "<br />\n";
+// FIXME: words like "probably" and "usually" should be removed and do_err() should be called with TRUE for the second argument when we confirm that this does in fact affect everyone
+if ((bool) ini_get('session.auto_start') && ini_get('session.auto_start') != 'off') {
+ $msg = 'session.auto_start is turned on in your PHP configuration, but SquirrelMail'
+ . ' 1.4.x probably will not work with it (otherwise valid logins will usually'
+ . ' result in "You must be logged in to access this page" errors).'
+ . ' You can disable session.auto_start only in the squirrelmail directory'
+ . ' if you need to leave it turned on for other applications.';
+ do_err($msg, false);
+}
+
$safe_mode = ini_get('safe_mode');
if ($safe_mode) {
echo $IND . 'safe_mode: ' . $safe_mode;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|