Change class "log" to "errorlog" because of php3 nameing conflic class "log" to "errorlog" because of php3 nameing conflictt

This commit is contained in:
jerrywestrick 2001-08-06 16:20:45 +00:00
parent a4eafadbcc
commit 60dcef3164

View File

@ -474,7 +474,7 @@ function ExecObject($object, $functionparams = '_UNDEF_', $loglevel = 3, $classp
$GLOBALS['phpgw']->preferences = CreateObject('phpgwapi.preferences'); $GLOBALS['phpgw']->preferences = CreateObject('phpgwapi.preferences');
$GLOBALS['phpgw']->applications = CreateObject('phpgwapi.applications'); $GLOBALS['phpgw']->applications = CreateObject('phpgwapi.applications');
$GLOBALS['phpgw']->translation = CreateObject('phpgwapi.translation'); $GLOBALS['phpgw']->translation = CreateObject('phpgwapi.translation');
$GLOBALS['phpgw']->log = CreateObject('phpgwapi.log'); $GLOBALS['phpgw']->log = CreateObject('phpgwapi.errorlog');
// $GLOBALS['phpgw']->datetime = CreateObject('phpgwapi.datetime'); // $GLOBALS['phpgw']->datetime = CreateObject('phpgwapi.datetime');
print_debug('main class loaded'); print_debug('main class loaded');
if (! isset($phpgw_info['flags']['included_classes']['error']) || if (! isset($phpgw_info['flags']['included_classes']['error']) ||