diff options
author | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-03-30 19:53:59 -0400 |
---|---|---|
committer | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-03-30 19:53:59 -0400 |
commit | d9dfd9d6199b15eba9510ef460e18c9245d9ab12 (patch) | |
tree | 6704134700cbc80c39b289620917d4bec011998e /check_setup.php | |
parent | 34711f584651205cb6738b49df285d93a35393b5 (diff) |
Add Mysql/MariaDB support
Diffstat (limited to 'check_setup.php')
-rw-r--r-- | check_setup.php | 6 |
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 |