From 7635d21b4c128e383e61b27981872200c13bf4d5 Mon Sep 17 00:00:00 2001
From: till <till@php.net>
Date: Sun, 23 Mar 2008 16:42:24 -0400
Subject: [PATCH] * fixing bug where people got: Call to undefined function decrypt_passwd()  (The form fields for smtp and imap test shared names and imap test overwrote smtp test fields (obviously).)

---
 installer/check.php |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/installer/check.php b/installer/check.php
index b795fa9..c60244e 100644
--- a/installer/check.php
+++ b/installer/check.php
@@ -39,11 +39,9 @@
 
 if (phpversion() > 4.3) {
     $RCI->pass('Version', 'PHP ' . phpversion() . ' detected');
-}
-else {
+} else {
     $RCI->fail('Version', 'PHP Version 4.3.1 or greater is required');
 }
-
 ?>
 
 <h3>Checking PHP extensions</h3>
@@ -54,8 +52,7 @@
 foreach ($required_php_exts AS $name => $ext) {
     if (extension_loaded($ext)) {
         $RCI->pass($name);
-    }
-    else {
+    } else {
         $_ext = $prefix . $ext . '.' . PHP_SHLIB_SUFFIX;
         $msg = @dl($_ext) ? 'Could be loaded. Please add in php.ini' : '';
         $RCI->fail($name, $msg, $source_urls[$name]);

--
Gitblit v1.9.1