From a499d4148163f1bf2ebd662255a7a880d9727270 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 10 Jul 2018 14:07:03 -0700 Subject: [PATCH] Fixes #3078 Additional checks for XML package during installation. --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 252cf97b9..df239202c 100644 --- a/install.php +++ b/install.php @@ -886,7 +886,7 @@ class e_install $extensionCheck = array( 'pdo' => array('label'=> "PDO (MySQL)", 'status' => extension_loaded('pdo_mysql'), 'url'=> ''), - 'xml' => array('label'=> LANINS_050, 'status' => function_exists('utf8_encode'), 'url'=> 'http://php.net/manual/en/ref.xml.php'), + 'xml' => array('label'=> LANINS_050, 'status' => function_exists('utf8_encode') && class_exists('DOMDocument', false), 'url'=> 'http://php.net/manual/en/ref.xml.php'), 'exif' => array('label'=> LANINS_048, 'status' => function_exists('exif_imagetype'), 'url'=> 'http://php.net/manual/en/book.exif.php'), 'curl' => array('label'=> 'Curl Library', 'status' => function_exists('curl_version'), 'url'=> 'http://php.net/manual/en/book.curl.php'), 'gd' => array('label'=> 'GD Library', 'status' => function_exists('gd_info'), 'url'=> 'http://php.net/manual/en/book.image.php'),