Commit 927a045d authored by Jon goldberg's avatar Jon goldberg

Check for XML module before install

parent 13c55bcd
......@@ -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("XML support"),
ts("XML 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