Issue Bug Closed

#21994Defining new cache backend in extension must use absolut path

Christian Kuhn 01/19/10, 21:25 updated 08/28/10, 19:32

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.