[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)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 14 Apr 2013 11:25:40 +0000 (13:25 +0200)
commite70724d31aca529a7294b19b01306b788094ac50
treed63594af251178babfa8d970bf939810bb3f11c9
parent7f2f2fc250188c6bea530d8885b5f4653ae266cf
[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/19970
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/fluid/Classes/View/StandaloneView.php
typo3/sysext/fluid/Classes/View/TemplateView.php