Skip to content

Commit

Permalink
Merge pull request #10939 from MegaphoneJon/xml-install
Browse files Browse the repository at this point in the history
CRM-21142 - CiviCRM installer - Check for XML module before install
  • Loading branch information
eileenmcnaughton authored Sep 4, 2017
2 parents 5dcee00 + 8d24154 commit 66841ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,13 @@ public function check() {
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"),
Expand Down

0 comments on commit 66841ae

Please sign in to comment.