[TYPO3-core] RFC: #11368: ENABLE_INSTALL_TOOL file should be ignored if older than one hour

Steffen Kamper info at sk-typo3.de
Mon Jun 22 12:14:50 CEST 2009


Hi,

Michael Stucki schrieb:
> 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.
>
ok

> Anyway, I agree with Marcus that this improvement should be moved into a 
> separate RFC.
> 

will do

vg Steffen


More information about the TYPO3-team-core mailing list