diff --git a/setup/ldap.php b/setup/ldap.php index 8f736b7628..63482bfa7c 100644 --- a/setup/ldap.php +++ b/setup/ldap.php @@ -31,12 +31,14 @@ var $common; var $accounts; var $applications; + var $db; } $phpgw = new phpgw; $phpgw->common = CreateObject('phpgwapi.common'); $common = $phpgw->common; $phpgw_setup->loaddb(); + $phpgw->db = $phpgw_setup->db; $phpgw_info['server']['auth_type'] = 'ldap'; $phpgw->accounts = CreateObject('phpgwapi.accounts');