[TYPO3-english] How to modify clearing of configuration cache in TYPO3 6.0
Wouter Wolters
wouter at windinternet.nl
Tue Jan 8 11:44:36 CET 2013
Hi,
In 6.0 XCLASS is indeed removed. Now you can use the Objects implementation.
See for example:
https://github.com/NamelessCoder/view/blob/master/ext_localconf.php
And for the complete patch see https://review.typo3.org/#/c/16712/
HTH
Wouter
On 8-1-2013 10:41, Armin Rüdiger Vieweg wrote:
> Hello,
>
> I would like to make my DCE extension compatible with TYPO3 6.0 - and it
> is already compatible mostly. But what is not working after updating to
> 6.0 is the modified clearing of the configuration cache.
>
> My extension creates two cachefiles in typo3conf folder. When the user
> clears the configuration cache, these two files should be deleted, too.
>
> Currently I'm using the xclass
> ['XCLASS']['t3lib/class.t3lib_tcemain.php'] and overwrite the method
> removeCacheFiles(). But this xclass seems not to exist anymore.
>
> So, I have no clue how to "hook" into the new
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::removeCacheFiles()
> method.
>
> I hope you can help me.
>
> Thanks in advance.
> Armin
More information about the TYPO3-english
mailing list