added missing translation class

This commit is contained in:
Lars Kneschke 2003-10-14 05:18:18 +00:00
parent 3f0246fe36
commit 613e4013a9

View File

@ -149,9 +149,10 @@
var $accounts; var $accounts;
} }
$GLOBALS['phpgw'] = new phpgw; $GLOBALS['phpgw'] = new phpgw;
$GLOBALS['phpgw']->db = $GLOBALS['phpgw_setup']->db; $GLOBALS['phpgw']->db = $GLOBALS['phpgw_setup']->db;
$GLOBALS['phpgw']->common = CreateObject('phpgwapi.common'); $GLOBALS['phpgw']->common = CreateObject('phpgwapi.common');
$GLOBALS['phpgw']->accounts = CreateObject('phpgwapi.accounts'); $GLOBALS['phpgw']->accounts = CreateObject('phpgwapi.accounts');
$GLOBALS['phpgw']->translation = CreateObject('phpgwapi.translation');
if(($GLOBALS['phpgw_info']['server']['account_repository'] == 'ldap') && if(($GLOBALS['phpgw_info']['server']['account_repository'] == 'ldap') &&
!$GLOBALS['phpgw']->accounts->ds) !$GLOBALS['phpgw']->accounts->ds)
{ {