summaryrefslogtreecommitdiff
path: root/app/check_setup.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-15 22:48:24 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-15 22:48:24 +0200
commit26e69a5fa903efe25556d36d742ba2084a09e38c (patch)
tree4b59105722e93b627fdd4daac3db0edde95be164 /app/check_setup.php
parente1ddf7f0127e9745f94e5ff9f76ea828e9058720 (diff)
Tiny postgres fixes (pull-request #263)
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