From f6b1ac8358e33cd7c4ef875d3deb632d3df92306 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 29 Nov 2017 10:40:29 -0800 Subject: Add missing checks for requirements --- app/check_setup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/check_setup.php') 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.'"'); } } -- cgit v1.2.3