$host = implode(':', $hostParts);
}
else {
- $port = '';
+ $port = NULL;
}
$conn = @mysqli_connect($host, $username, $password, $database, $port);
return $conn;
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"),