[TYPO3-core] RFC: protect localconf.php from being lost
Martin Kutschker
Martin.Kutschker at blackbox.net
Fri Jan 13 09:23:13 CET 2006
Michael Stucki <michael at typo3.org> writes on
Thu, 12 Jan 2006 19:40:44 +0100 (MET):
> Hey Martin,
>
>
> >> 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.
> >
> > New patch that has .php as file extension and deletes the temp file
> > after
> > an unseccssful write.
>
> Did you commit this in the meanwhile?
No. I hadn't found the time to do the requested rewrites (remember: the return value, reporting issue).
Anyway, no that my sysLog patch is pending, I'll wait for it and provide a patch that also tries to log the error.
> Please confirm whenever you committed a change.
If you think so. I find the commit messages more annyoing than useful.
Masi
More information about the TYPO3-team-core
mailing list