From: Arthur Schiwon Date: Thu, 13 Dec 2012 23:58:29 +0000 (+0100) Subject: Also show a more prominent warning when php_ldap is not installed X-Git-Tag: v5.0.0alpha1~329 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=414b7e8e036873183a8a21a603121bbe39a8c901;p=nextcloud-server.git Also show a more prominent warning when php_ldap is not installed --- diff --git a/apps/user_ldap/templates/settings.php b/apps/user_ldap/templates/settings.php index 470f0684847..8522d2f835c 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.').'

'; + } ?>