added XML check
This commit is contained in:
parent
d92b275128
commit
2da730b9c8
|
@ -45,6 +45,10 @@ if (! function_exists('ldap_search')) {
|
||||||
if (! function_exists('gettext') || !function_exists('_')) {
|
if (! function_exists('gettext') || !function_exists('_')) {
|
||||||
$criticalErrors[] = array("ERROR", "Your PHP has no gettext support!", "Please install gettext for PHP.");
|
$criticalErrors[] = array("ERROR", "Your PHP has no gettext support!", "Please install gettext for PHP.");
|
||||||
}
|
}
|
||||||
|
// check if PHP has XML support
|
||||||
|
if (! function_exists('utf8_decode')) {
|
||||||
|
$criticalErrors[] = array("ERROR", "Your PHP has no XML support!", "Please install the XML extension for PHP.");
|
||||||
|
}
|
||||||
// check file permissions
|
// check file permissions
|
||||||
$writableDirs = array('sess', 'tmp');
|
$writableDirs = array('sess', 'tmp');
|
||||||
for ($i = 0; $i < sizeof($writableDirs); $i++) {
|
for ($i = 0; $i < sizeof($writableDirs); $i++) {
|
||||||
|
|
Loading…
Reference in New Issue