From: kink Date: Sun, 30 Mar 2003 10:35:40 +0000 (+0000) Subject: Remove warning message for 4.3.x; we believe the session issues have been X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=e9c378fe30e5ab29cf397a24e91bae18c20292fd Remove warning message for 4.3.x; we believe the session issues have been fixed. Leave the warning in ReleaseNotes because we don't have enough testing experience with PHP 4.3.x to be sure about the stability. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4702 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/ChangeLog b/ChangeLog index 39e2caf4..d3d56917 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,8 +20,7 @@ Version 1.4.0 CVS by register_globals = off. - Added Greek locale. Thanks to George P. Kremmydas and Alexandros Vellis - - Added notes about PHP 4.3.x to documentation, and a gaudy warning message - in src/login.php. Warning can be disabled. + - Added notes about PHP 4.3.x to documentation. - Fixed \Noselect mailbox detection. - Fixed charset decode of base64 encoded strings. - Fixed encoding of email addresses in our composed messages. diff --git a/INSTALL b/INSTALL index ad5b46aa..41196e25 100644 --- a/INSTALL +++ b/INSTALL @@ -25,9 +25,8 @@ Table of Contents: a. Obtaining and compiling PHP4 - SquirrelMail has not been tested for use with PHP 4.3.x. The - development team does not recommend the use of this software with - PHP 4.3.x until further testing can be done. + SquirrelMail has not been extensively tested for use with PHP 4.3.x. + See the ReleaseNotes file. Point your favorite webserver at http://www.php.net/version4/ and download the source. Untar (tar xvfz filename-you-downloaded.tgz) diff --git a/ReleaseNotes b/ReleaseNotes index 09a23009..a5e99225 100644 --- a/ReleaseNotes +++ b/ReleaseNotes @@ -38,16 +38,10 @@ A note on PHP 4.3.x While the developers realize that PHP 4.3.x is the "latest and greatest" version of PHP to be available, SquirrelMail has not been extensively -tested with it. There may be potential session issues with PHP 4.3.x, -and PHP by default has a session warning which will need to be disabled -if you wish to use it with SquirrelMail. - -Put simply: The SquirrelMail team does not recommend the use of -PHP 4.3.x with SquirrelMail at this time. - -SquirrelMail will put a large ugly warning about the use of PHP 4.3.x on -the login screen unless you add "$shootMyFootOff = true;" to -config/config_local.php, or downgrade PHP. +tested with it. We currently believe that SquirrelMail should work on +PHP 4.3.x but we lack the experience with this new version to be +absolutely sure. If you want to be safe, or experience problems, you may +want to downgrade to PHP 4.2.x. Major updates ============== diff --git a/src/login.php b/src/login.php index fb004cac..684357e8 100644 --- a/src/login.php +++ b/src/login.php @@ -94,18 +94,6 @@ if (isset($org_logo) && $org_logo) { $width_and_height .= " height=\"$org_logo_height\""; } } -global $shootMyFootOff; -if (check_php_version(4,3) and !isset($shootMyFootOff)) { - echo '

' . "\n"; - echo '

PHP 4.3.x has been detected

' . "\n"; - echo '

The SquirrelMail team does not recommend the use of PHP 4.3.x with'; - echo ' this software. Please see the SquirrelMail'; - echo ' website, or the documentation that came with SquirrelMail for more information.

'; - echo '

This warning can be disabled by either downgrading PHP, or inserting'; - echo '"$shootMyFootOff = true;" in config/config_local.php.

' . "\n"; - echo '

' . "\n"; - echo "\n"; -} echo html_tag( 'table', html_tag( 'tr',