[BUGFIX] Filemtime / Filesize trigger warning 83/25283/3
authorTomita Militaru <militarutomita@gmail.com>
Mon, 11 Nov 2013 19:53:22 +0000 (21:53 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 20 Nov 2013 18:52:09 +0000 (19:52 +0100)
commita6fe2b8bece30a5ed3a912fdd6ef1642adf16137
tree8623de9aee8f0adc969eed432e32b0d7fb734593
parent0ebc5a753bad255cf60a9dcf162b63e90b9d3b7d
[BUGFIX] Filemtime / Filesize trigger warning

Adds check for file_exists before calling filemtime / filsize
to avoid warning message.

Resolves: #53243
Releases: 6.2, 6.1, 6.0
Change-Id: I0f7da0c3e1920ddcf7d2d427a48ddcca71a6a4a3
Reviewed-on: https://review.typo3.org/25283
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Resource/ResourceCompressor.php