From 2da730b9c8677664c08118bf494f1cba4a3bd62f Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 30 Nov 2005 14:22:26 +0000 Subject: [PATCH] added XML check --- lam/templates/login.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lam/templates/login.php b/lam/templates/login.php index c628a07b..1a31f4fc 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -45,6 +45,10 @@ if (! function_exists('ldap_search')) { if (! function_exists('gettext') || !function_exists('_')) { $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 $writableDirs = array('sess', 'tmp'); for ($i = 0; $i < sizeof($writableDirs); $i++) {