Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Should have
Category:
Install Tool
Target version:
-
Start date:
2006-07-18
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

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

3863.diff (1.44 KB) 3863.diff Administrator Admin, 2006-09-04 07:32
Actions #1

Updated by Thomas Hempel about 18 years ago

Yeap! Like it!

I will try to provide a patch for this.

Greets,
Thomas

Actions #2

Updated by Thomas Hempel about 18 years ago

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

Actions #3

Updated by Martin Kutschker about 18 years ago

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)

Actions #4

Updated by Thomas Hempel about 18 years ago

@Martin: That won't work because the $file variable contains the complete path and not only the basename.

Greets,
Thomas

Actions #5

Updated by Martin Kutschker about 18 years ago

/temp_CACHED_ [a-z0-9]+\.php$
Actions #6

Updated by Thomas Hempel about 18 years ago

The new patch contains your changes now.

Greets,
Thomas

Actions #7

Updated by Sebastian Kurfuerst about 18 years ago

Hi,
I'll take care of this.
Sebastian

Actions #8

Updated by Thomas Hempel about 18 years ago

Hi,
a new version was added. This one implements the changes from Sebastian and Michael.

Greets,
Thomas

Actions #9

Updated by Sebastian Kurfuerst about 18 years ago

committed to svn

Actions

Also available in: Atom PDF