summaryrefslogtreecommitdiff
path: root/app/check_setup.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/check_setup.php')
-rw-r--r--app/check_setup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/check_setup.php b/app/check_setup.php
index c4359d7a..afb08f6a 100644
--- a/app/check_setup.php
+++ b/app/check_setup.php
@@ -20,8 +20,8 @@ if (version_compare(PHP_VERSION, '5.4.0', '<')) {
}
// Check extension: PDO
-if (! extension_loaded('pdo_sqlite') && ! extension_loaded('pdo_mysql')) {
- die('PHP extension required: pdo_sqlite or pdo_mysql');
+if (! extension_loaded('pdo_sqlite') && ! extension_loaded('pdo_mysql') && ! extension_loaded('pdo_pgsql')) {
+ die('PHP extension required: pdo_sqlite or pdo_mysql or pdo_pgsql');
}
// Check extension: mbstring