diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index 56a6c6a0ca..2e1db87b7a 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -313,7 +313,7 @@ } magic_quotes_runtime(false); - print_debug('sane environment'); + @print_debug('sane environment'); /****************************************************************************\ * Multi-Domain support * @@ -470,9 +470,9 @@ $GLOBALS['phpgw']->preferences = CreateObject('phpgwapi.preferences'); $GLOBALS['phpgw']->applications = CreateObject('phpgwapi.applications'); $GLOBALS['phpgw']->translation = CreateObject('phpgwapi.translation'); - $GLOBALS['phpgw']->log = CreateObject('phpgwapi.log'); + $GLOBALS['phpgw']->log = CreateObject('phpgwapi.errorlog'); // $GLOBALS['phpgw']->datetime = CreateObject('phpgwapi.datetime'); - print_debug('main class loaded'); + @print_debug('main class loaded'); if (! isset($phpgw_info['flags']['included_classes']['error']) || ! $phpgw_info['flags']['included_classes']['error']) {