Commit 66841aee authored by eileen's avatar eileen 🎱 Committed by GitHub

Merge pull request #10939 from MegaphoneJon/xml-install

CRM-21142 - CiviCRM installer - Check for XML module before install
parents 5dcee009 8d241549
......@@ -705,6 +705,13 @@ class InstallRequirements {
ts("MySQL support not included in PHP."),
));
// Check for XML support
$this->requireFunction('simplexml_load_file', array(
ts("PHP Configuration"),
ts("SimpleXML support"),
ts("SimpleXML support not included in PHP."),
));
// Check for JSON support
$this->requireFunction('json_encode', array(
ts("PHP Configuration"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment