[BUGFIX] Don't use folders as templates, partials and layouts
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Sat, 13 Apr 2013 17:11:49 +0000 (19:11 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 14 Apr 2013 11:00:25 +0000 (13:00 +0200)
commit079acb4c76f9072c5beb7b8154cd287d9b2c71ab
tree6dd1a1b91ab0f2579111fcda28cb4f4f99f8c07a
parentbd7bb9df2065cd2fde080102d0fbd746cbd4705b
[BUGFIX] Don't use folders as templates, partials and layouts

The file_exists checks in TemplateView and StandaloneView are true for
folders. This leads to unrendered partials with resorted paths.
Use is_file.

Releases: 6.1, 6.0, 4.7, 1.3
Fixes: #47186
Fluid Package Issue: #47188

Change-Id: Ib64e180e01d66777bb5b0683cce26d88ec2a9fd6
Reviewed-on: https://review.typo3.org/19920
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/fluid/Classes/View/StandaloneView.php
typo3/sysext/fluid/Classes/View/TemplateView.php