Feature #16358
closed
Delete temp_CACHED_* files from "Edit files in typo3conf/:"
Added by Stefano Cecere over 18 years ago.
Updated over 17 years ago.
Description
sometimes it happens that something goes wrong (maybe installing an ext) and Typo3 crashes.
the only possibility is to delete manually all the temp_CACHED files in the typo3conf directory.
since the install tool always work (also when typo3 is crashed) it could be useful to add a little "delete temp_CACHED files" in the "Edit files in typo3conf/:" section
what do you think?
(issue imported from #M3863)
Files
Yeap! Like it!
I will try to provide a patch for this.
Greets,
Thomas
Hello,
I atteched a patch that provides such a link in the "Edit files in typo3conf/:".
I'm not sure if this is the way it should be implemented.
Greets,
Thomas
Don't know if it's the ebsts way to do it, but I suggest to tie the regexp to the beginning of the word:
preg_match('/^temp_CACHED/', $file)
@Martin: That won't work because the $file variable contains the complete path and not only the basename.
Greets,
Thomas
/temp_CACHED_ [a-z0-9]+\.php$ |
The new patch contains your changes now.
Greets,
Thomas
Hi,
I'll take care of this.
Sebastian
Hi,
a new version was added. This one implements the changes from Sebastian and Michael.
Greets,
Thomas
Also available in: Atom
PDF