[TYPO3-core] RFC: #11731: [Bugfix] ENABLE_INSTALL_TOOL file check in yellow box doesn't check the file age

Michael Stucki michael at typo3.org
Mon Aug 17 16:00:33 CEST 2009


Hi Francois,

> I would try to be careful about adding new stuff to init.php. It is
> already full of stuff which has to be differentiated depending on the
> context it was included in (BE, CLI, AJAX calls) and - frankly - it has
> grown to be a total mess over time. It is easy to forget that is called
> by many scripts, including the install tool and the BE AJAX calls and
> then have operations that are executed in the wrong context.
> 
> In this case, for example, it would mean that with every AJAX call in
> the BE, the lifetime of the ENABLE_INSTALL_TOOL file is checked for. Of
> course, this can be avoided by wrapping that process in a if block, but
> that's one additional test to perform.

OK, you convinced me :-)

Cheers, 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