[TYPO3-core] RFC: protect localconf.php from being lost

Michael Stucki michael at typo3.org
Fri Dec 16 17:27:45 CET 2005


Hi Martin & Karsten,

>> Solution: change the temporary filename so it ends with .php
> 
> ok.

Good.

>> Additionally I would delete the temporary file if it has been written
>> but did not match the check wit strcmp or could not be renamed. This
>> avoids a cluttered filesystem.
> 
> ok.

Yes.

>> As for the die() calls - what about just putting the error message
>> into $this->messages[] and hope the admin will look carefully enough
>> at the output? This way it could be called "graceful" error handling,
>> somewhat at least.
> 
> I don't know where the message strings are used. When I changed the
> settings of an extension in the extension manager I did not see, the
> "updated" message. So the display of the message has to be implemented at
> least there. But again, I don't want to don this right now. I'm only
> fixing the dataloss bug (#1878).

I already changed this somewhere in my patch-pipeline. Will be changed by me
soon (just change debug => t3lib_div::debug).

So then it should be no problem to move these messages to $this->messages[].
Can you do that, please?

Regards, michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-core mailing list