Actions
Bug #21994
closedDefining new cache backend in extension must use absolut path
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2010-01-19
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Loading a new cache Backend from an extension doesn't parse the common 'EXT:' syntax, the backend must be defined with an absolute path from document root:
$TYPO3_CONF_VARS['SYS']['caching']['cacheBackends']['happynewbackend'] = 'typo3conf/ext/extname/class.php:classname'
Should:
$TYPO3_CONF_VARS['SYS']['caching']['cacheBackends']['happynewbackend'] = 'EXT:extname/class.php:classame'
Reason is class.t3lib_cache_factory.php which does a explode by colon before getting the path via t3lib_div::getFileAbsFileName.
(issue imported from #M13304)
Actions