[TYPO3-core] RFC: protect localconf.php from being lost
Martin Kutschker
Martin.Kutschker at blackbox.net
Fri Dec 16 11:08:08 CET 2005
Hi!
This is a patch request.
Branch: HEAD / 3.8.2 ?
Problem:
localconf.php may be destroyed if something is wrong when it's updated. Especially it may be lost if the server runs out of diskspace.
Solution:
Write the new config to a temp. file. Check if this has been written properly and replace the old file.
TODO:
Get rid of the die()s. The function should return a status and a message. The caller should handle this cases. But I have no time for this now.
Masi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 1324 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051216/c68e1ec3/attachment.bin
More information about the TYPO3-team-core
mailing list