summaryrefslogtreecommitdiff
path: root/roundcubemail/installer/check.php
diff options
context:
space:
mode:
authortill <till@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-03-23 20:42:24 +0000
committertill <till@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-03-23 20:42:24 +0000
commit26f78224c51892da0ac28085a2147ed15f092351 (patch)
tree019977c624ff3a998e2f379b88f530155c056949 /roundcubemail/installer/check.php
parent59db32c2b2d44f4f957174e8e25adecd6ff1a66f (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).) git-svn-id: https://svn.roundcube.net/trunk@1212 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/installer/check.php')
-rw-r--r--roundcubemail/installer/check.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/roundcubemail/installer/check.php b/roundcubemail/installer/check.php
index b795fa9bb..c60244e94 100644
--- a/roundcubemail/installer/check.php
+++ b/roundcubemail/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]);