[TYPO3-core] RFC: #11368: ENABLE_INSTALL_TOOL file should be ignored if older than one hour
Michael Stucki
michael at typo3.org
Mon Jun 22 12:11:09 CEST 2009
Steffen Kamper schrieb:
> Michael Stucki schrieb:
>
>> Additionally, please remove the @ before file_exists() and use
>> is_file() instead.
>
> why is_file() vs file_exists(), any reason?
file_exists() returns true if $file is a directory. However, the unlink
command would not work in this case.
Therefore, it must be handled consistent over all places.
Anyway, I agree with Marcus that this improvement should be moved into a
separate RFC.
- 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