Project

General

Profile

Bug #22593 » patch_14312_1.diff

Administrator Admin, 2010-05-05 16:21

View differences:

t3lib/class.t3lib_div.php (Arbeitskopie)
}
// do custom logging
if (is_array($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_div.php']['systemLog'])) {
$params = array('msg'=>$msg, 'extKey'=>$extKey, 'backTrace'=>debug_backtrace(), 'severity'=>$severity);
$fakeThis = FALSE;
foreach ($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_div.php']['systemLog'] as $hookMethod) {
self::callUserFunction($hookMethod,$params,$fakeThis);
}
if (isset($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_div.php']['systemLog']) &&
is_array($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_div.php']['systemLog'])) {
$params = array('msg'=>$msg, 'extKey'=>$extKey, 'backTrace'=>debug_backtrace(), 'severity'=>$severity);
$fakeThis = FALSE;
foreach ($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_div.php']['systemLog'] as $hookMethod) {
self::callUserFunction($hookMethod,$params,$fakeThis);
}
}
// TYPO3 logging enabled?
t3lib/error/class.t3lib_error_errorhandler.php (Arbeitskopie)
}
// Add error message to the flashmessageQueue
if (TYPO3_ERRORHANDLER_MODE == 'debug') {
if (defined(TYPO3_ERRORHANDLER_MODE) && TYPO3_ERRORHANDLER_MODE == 'debug') {
$flashMessage = t3lib_div::makeInstance(
't3lib_FlashMessage',
$message,
(1-1/3)