mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-24 14:11:29 +01:00
another fix for log object does not exist in setup
This commit is contained in:
parent
886f62667e
commit
bd2a20dcd8
@ -256,8 +256,11 @@
|
|||||||
// bind as admin, we not to able to do everything
|
// bind as admin, we not to able to do everything
|
||||||
if (! ldap_bind($ds,$dn,$passwd))
|
if (! ldap_bind($ds,$dn,$passwd))
|
||||||
{
|
{
|
||||||
$GLOBALS['phpgw']->log->message('F-Abort, Failed binding to LDAP server');
|
if(is_object($GLOBALS['phpgw']->log))
|
||||||
$GLOBALS['phpgw']->log->commit();
|
{
|
||||||
|
$GLOBALS['phpgw']->log->message('F-Abort, Failed binding to LDAP server');
|
||||||
|
$GLOBALS['phpgw']->log->commit();
|
||||||
|
}
|
||||||
|
|
||||||
printf("<b>Error: Can't bind to LDAP server: %s!</b><br>",$dn);
|
printf("<b>Error: Can't bind to LDAP server: %s!</b><br>",$dn);
|
||||||
return False;
|
return False;
|
||||||
|
Loading…
Reference in New Issue
Block a user