From: Nik Okuntseff Date: Tue, 4 Dec 2018 22:07:41 +0000 (+0000) Subject: Fixed a check if ldap expension is loaded as per PR #68 by Frank Giesecke. X-Git-Tag: timetracker_1.19-1~477 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=80481c14be5a7ac9e4d386ad7b3ec71d7628e03b;p=timetracker.git Fixed a check if ldap expension is loaded as per PR #68 by Frank Giesecke. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 1ed3fe62..6d454f1f 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.29.4587 | Copyright © Anuko | +  Anuko Time Tracker 1.18.29.4588 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/dbinstall.php b/dbinstall.php index 653d13a1..67fac318 100644 --- a/dbinstall.php +++ b/dbinstall.php @@ -124,7 +124,7 @@ if ($request->isGet()) { // Check ldap extension. if (AUTH_MODULE == 'ldap') { - if (extension_loaded('ldap_')) { + if (extension_loaded('ldap')) { echo('ldap PHP extension is loaded.
'); } else { echo('Error: ldap PHP extension is not loaded. It is required for LDAP authentication.
');