From 414b7e8e036873183a8a21a603121bbe39a8c901 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 14 Dec 2012 00:58:29 +0100 Subject: [PATCH] Also show a more prominent warning when php_ldap is not installed --- apps/user_ldap/templates/settings.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/user_ldap/templates/settings.php b/apps/user_ldap/templates/settings.php index 470f068484..8522d2f835 100644 --- a/apps/user_ldap/templates/settings.php +++ b/apps/user_ldap/templates/settings.php @@ -7,6 +7,9 @@ '.$l->t('Warning: Apps user_ldap and user_webdavauth are incompatible. You may experience unexpected behaviour. Please ask your system administrator to disable one of them.').'

'; } + if(!function_exists('ldap_connect')) { + echo '

'.$l->t('Warning: The PHP LDAP module needs is not installed, the backend will not work. Please ask your system administrator to install it.').'

'; + } ?>