Project

General

Profile

Feature #15040 » logline_hook.diff

Administrator Admin, 2007-05-07 17:35

View differences:

class.tslib_fe.php 2007-05-07 17:27:16.000000000 +0200
if (!$this->config['config']['stat_apache_notExtended']) {
$LogLine.= ' "'.t3lib_div::getIndpEnv('HTTP_REFERER').'" "'.t3lib_div::getIndpEnv('HTTP_USER_AGENT').'"';
}
// Hook for processing LogLine
if (is_array($this->TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['createLogLine'])) {
foreach($this->TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['createLogLine'] as $_classRef) {
$_procObj = &t3lib_div::getUserObj($_classRef);
$_procObj->createLogLine(&$LogLine,$this);
}
}
$GLOBALS['TT']->push('Write to log file (fputs)');
$logfilehandle = fopen($this->config['stat_vars']['logFile'], 'a');
(3-3/5)