Actions
Bug #25287
closederror when using t3lib_TCEmain->clear_cacheCmd in CLI mode
Start date:
2011-03-09
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
it should be checked that TYPO3 is not running in CLI mode before writing to log
if (!defined('TYPO3_cliMode')) {
$this->BE_USER->writelog(3, 1, 0, 0, 'User %s has cleared the cache (cacheCmd=%s)', array($this->BE_USER->user['username'], $cacheCmd));
}
related to http://bugs.typo3.org/bug_view_page.php?bug_id=16832
(issue imported from #M17900)
Actions