summaryrefslogtreecommitdiff
path: root/check_setup.php
diff options
context:
space:
mode:
Diffstat (limited to 'check_setup.php')
-rw-r--r--check_setup.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/check_setup.php b/check_setup.php
index 3751e59d..1484d459 100644
--- a/check_setup.php
+++ b/check_setup.php
@@ -19,9 +19,9 @@ if (version_compare(PHP_VERSION, '5.4.0', '<')) {
}
}
-// Check extension: PDO Sqlite
-if (! extension_loaded('pdo_sqlite')) {
- die('PHP extension required: pdo_sqlite');
+// Check extension: PDO
+if (! extension_loaded('pdo_sqlite') && ! extension_loaded('pdo_mysql')) {
+ die('PHP extension required: pdo_sqlite or pdo_mysql');
}
// Check extension: mbstring