Add some @ to print_debug() calls to silence php3

This commit is contained in:
Miles Lott 2001-08-06 00:28:15 +00:00
parent 54f987a321
commit 4b512874d8

View File

@ -313,7 +313,7 @@
} }
magic_quotes_runtime(false); magic_quotes_runtime(false);
print_debug('sane environment'); @print_debug('sane environment');
/****************************************************************************\ /****************************************************************************\
* Multi-Domain support * * Multi-Domain support *
@ -470,9 +470,9 @@
$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']) ||
! $phpgw_info['flags']['included_classes']['error']) ! $phpgw_info['flags']['included_classes']['error'])
{ {