summaryrefslogtreecommitdiff
path: root/installer/check.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-06-18 14:59:20 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-06-18 14:59:20 +0200
commitcaa53b1316dc7a17a4439e1a1afb3c9f91182832 (patch)
tree61ed653c96826a49aeb9c2fd0a63433aa5bed9a5 /installer/check.php
parent4500b2f79bbd0985ba2e13ff870e6d474370f9ae (diff)
parente7fa2ce56d0c9e3d791f3c145febbb9ab16be838 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'installer/check.php')
-rw-r--r--installer/check.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/installer/check.php b/installer/check.php
index fcf35025e..bea8c42e0 100644
--- a/installer/check.php
+++ b/installer/check.php
@@ -139,10 +139,11 @@ foreach ($RCI->supported_dbs as $database => $ext) {
if (extension_loaded($ext)) {
// MySQL driver requires PHP >= 5.3 (#1488875)
if ($ext == 'pdo_mysql' && version_compare(PHP_VERSION, '5.3.0', '<')) {
- $RCI->fail($database, 'PHP >= 5.3 required');
+ $RCI->fail($database, 'PHP >= 5.3 required', null, true);
}
else {
$RCI->pass($database);
+ $found_db_driver = true;
}
}
else {
@@ -152,6 +153,9 @@ foreach ($RCI->supported_dbs as $database => $ext) {
}
echo '<br />';
}
+if (empty($found_db_driver)) {
+ $RCI->failures++;
+}
?>