[TASK] Use file_exists() instead of is_file() 72/26872/2
authorOliver Hader <oliver@typo3.org>
Thu, 16 Jan 2014 11:12:06 +0000 (12:12 +0100)
committerBenjamin Mack <benni@typo3.org>
Thu, 16 Jan 2014 12:12:00 +0000 (13:12 +0100)
commit956c2fef79c267b4ad903468bfc4afbc7c8f0a5a
treefdc197c4578fe32a27a7b1eba98f758a7c98ad08
parentdf2635c6c575a0a5f9bca66cce00e40f07f864d3
[TASK] Use file_exists() instead of is_file()

is_file() checks whether a resource exists and whether it
is actually a file. There are several parts in the core,
where it is sufficient to check for the existence only,
which is faster.

Resolves: #55052
Releases: 6.2
Change-Id: I57b6d2f68dd3c1c45b603c3f194cc0c53c48e28c
Reviewed-on: https://review.typo3.org/26872
Reviewed-by: Wouter Wolters
Reviewed-by: Tom Ruether
Tested-by: Tom Ruether
Reviewed-by: Oliver Klee
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
typo3/sysext/core/Classes/Compatibility/LoadedExtensionArrayElement.php
typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php
typo3/sysext/core/Classes/TypoScript/TemplateService.php