瀏覽代碼

Fix requirements to reflect actual requirements according to Marc.

Thijs Kinkhorst 22 年之前
父節點
當前提交
7896df9d8c
共有 4 個文件被更改,包括 8 次插入9 次删除
  1. 2 2
      ChangeLog
  2. 2 4
      INSTALL
  3. 1 1
      UPGRADE
  4. 3 2
      themes/random.php

+ 2 - 2
ChangeLog

@@ -27,7 +27,6 @@ Version 1.4.0 CVS
   - Fixed folder creation for Courier using Autoconfig options.
   - Fixed encoded string handling inside MDN notifications.
   - Fixed unfold header routine in imap_messages (for mailbox_display).
-  - Make listcommands work with PHP versions 4.0.4 & 4.0.5.
   - Fixed subject_line hook.
   - Fixed sqgetGlobalVar switching.
   - Fixed handling of encoding/decoding strings.
@@ -37,7 +36,8 @@ Version 1.4.0 CVS
   - Fixed uninitialized indices when parsing attachments.
   - Support text/directory MIME-type for vCards (RFC 2425).
   - Added Arabic locale. Thanks to Asrar Abbasi <asrar at canasoft.net> and
-    Naveed Saqib <naveed.saqib at biznas.com>
+    Naveed Saqib <naveed.saqib at biznas.com>.
+  - Update required PHP version in documentation to 4.0.6.
 
 Version 1.4.0 RC 2a
 -------------------

+ 2 - 4
INSTALL

@@ -20,10 +20,8 @@ Table of Contents:
   to run as CGI under Apache. How you end up doing this is up to you
   (your mileage may vary).
 
-  NOTE: The new plugin architecture required the use of some functions 
-  which are not in all versions of PHP4. You will need at least 
-  PHP4 v4.0.4. If you need to upgrade please go ahead and install the
-  latest release version of PHP4.
+  You will need at least PHP v4.0.6. If you need to upgrade please go
+  ahead and install it now.
 
 a. Obtaining and compiling PHP4
   

+ 1 - 1
UPGRADE

@@ -7,7 +7,7 @@ using a previous version (0.1 or 0.2), it is suggested that you just start
 from scratch and configure your settings as if it was your first install.
 
 NOTE: The new plugin architecture required the use of some functions which
-are not in all versions of PHP4. You will need at least PHP 4.0.4. If you
+are not in all versions of PHP4. You will need at least PHP 4.0.6. If you
 need to upgrade please go ahead and install the latest release version of
 PHP4.
 

+ 3 - 2
themes/random.php

@@ -26,8 +26,9 @@ if (!sqsession_is_registered('random_theme_good_theme')) {
             $good_themes[] = $data['PATH'];
         }
     }
-    if (count($good_themes) == 0)
-    $good_themes[] = '../themes/default.php';
+    if (count($good_themes) == 0) {
+        $good_themes[] = '../themes/default.php';
+    }
     $which = mt_rand(0, count($good_themes));
     $random_theme_good_theme = $good_themes[$which];
     sqsession_register($random_theme_good_theme, 'random_theme_good_theme');