From 80481c14be5a7ac9e4d386ad7b3ec71d7628e03b Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Tue, 4 Dec 2018 22:07:41 +0000 Subject: [PATCH] Fixed a check if ldap expension is loaded as per PR #68 by Frank Giesecke. --- WEB-INF/templates/footer.tpl | 2 +- dbinstall.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.
'); -- 2.20.1