diff options
author | Frédéric Guillot <fred@kanboard.net> | 2017-11-29 10:40:29 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2017-11-29 10:40:29 -0800 |
commit | f6b1ac8358e33cd7c4ef875d3deb632d3df92306 (patch) | |
tree | c03489498d5f0f4af8b9beb9d43df36457b6fe09 /app/check_setup.php | |
parent | 6d2076e85940c38c3b00bc26ec932aae09712743 (diff) |
Add missing checks for requirements
Diffstat (limited to 'app/check_setup.php')
-rw-r--r-- | app/check_setup.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/check_setup.php b/app/check_setup.php index 314c9786..16d65bc8 100644 --- a/app/check_setup.php +++ b/app/check_setup.php @@ -33,9 +33,9 @@ if (DB_DRIVER === 'postgres' && ! extension_loaded('pdo_pgsql')) { } // Check other extensions -foreach (array('gd', 'mbstring', 'hash', 'openssl', 'json', 'hash', 'ctype', 'filter', 'session') as $ext) { +foreach (array('gd', 'mbstring', 'hash', 'openssl', 'json', 'hash', 'ctype', 'filter', 'session', 'dom', 'filter', 'SimpleXML', 'xml') as $ext) { if (! extension_loaded($ext)) { - throw new Exception('PHP extension required: "'.$ext.'"'); + throw new Exception('This PHP extension is required: "'.$ext.'"'); } } |