Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 1205 → Rev 1206

/trunk/plugins/viathinksoft/publicPages/800_login_ldap/OIDplusPagePublicLoginLDAP.class.php
251,15 → 251,11
$out['icon'] = OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'img/main_icon.png';
 
if (!OIDplus::baseConfig()->getValue('LDAP_ENABLED', false)) {
$out['icon'] = 'img/error.png';
$out['text'] = _L('LDAP authentication is disabled on this system.');
return;
throw new OIDplusException(_L('LDAP authentication is disabled on this system.'), $out['title']);
}
 
if (!function_exists('ldap_connect')) {
$out['icon'] = 'img/error.png';
$out['text'] = _L('PHP extension "%1" not installed','LDAP');
return;
throw new OIDplusException(_L('PHP extension "%1" not installed','LDAP'), $out['title']);
}
 
$out['text'] = '<noscript>';