Feature #15040 » logline_hook.diff
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');
|