From: Nik Okuntseff Date: Fri, 28 Dec 2018 16:22:15 +0000 (+0000) Subject: Added an environment check for enabled libxml to address issue #67. X-Git-Tag: timetracker_1.19-1~373 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3262206d3cda17048d2010de8dec165c8f5bf052;p=timetracker.git Added an environment check for enabled libxml to address issue #67. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 58515288..fd999f83 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.36.4692 | Copyright © Anuko | +  Anuko Time Tracker 1.18.36.4693 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/dbinstall.php b/dbinstall.php index 76a257ca..a3cdd9cc 100644 --- a/dbinstall.php +++ b/dbinstall.php @@ -131,6 +131,11 @@ if ($request->isGet()) { } } + // Check is libxml is enabled (which is a PHP default). + if (!function_exists('libxml_clear_errors')) { + echo('Error: libxml is not enabled. It is required for import group operation (to parse XML).
'); + } + // Check database access. require_once('MDB2.php'); $conn = MDB2::connect(DSN);