]> wagnertech.de Git - timetracker.git/blobdiff - dbinstall.php
Fixed a check if ldap expension is loaded as per PR #68 by Frank Giesecke.
[timetracker.git] / dbinstall.php
index 653d13a1f5ced6e4ea665d670087a09e5ac91935..67fac318281792f73a8be16faf6f105443a49e73 100644 (file)
@@ -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.<br>');
     } else {
       echo('<font color="red">Error: ldap PHP extension is not loaded. It is required for LDAP authentication.</font><br>');