diff options
author | till <till@php.net> | 2008-03-23 20:42:24 +0000 |
---|---|---|
committer | till <till@php.net> | 2008-03-23 20:42:24 +0000 |
commit | 7635d21b4c128e383e61b27981872200c13bf4d5 (patch) | |
tree | 48d2b790517d6ca28295fff405289ae18667a09a /installer/check.php | |
parent | 63210208c5bb350000f749a96cc651ad3d13a71b (diff) |
* 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).)
Diffstat (limited to 'installer/check.php')
-rw-r--r-- | installer/check.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/installer/check.php b/installer/check.php index b795fa9bb..c60244e94 100644 --- a/installer/check.php +++ b/installer/check.php @@ -39,11 +39,9 @@ echo '<input type="hidden" name="_step" value="' . ($RCI->configured ? 3 : 2) . 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 @@ $prefix = (PHP_SHLIB_SUFFIX === 'dll') ? 'php_' : ''; 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]); |