[BUGFIX] Fluid tries to render folders as templates partials and layouts 95/33195/2
authorKrzysztof Adamczyk <k.adamczyk@koptis.com.pl>
Sat, 21 Sep 2013 13:42:31 +0000 (15:42 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Tue, 7 Oct 2014 21:37:29 +0000 (23:37 +0200)
commit32ac1bb0e7653bc96256969eb6e46ee94170aa3e
tree11621529897355559ddce1e54802e6e994835764
parent7adbf2fc186937a31d6ee1747490d8d6976da8be
[BUGFIX] Fluid tries to render 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 instead.

Releases: master, 6.2, 6.1
Resolves: #47188
Change-Id: I9c168f4793f173f6c2f848e6e3da1f6021ae9c06
Reviewed-on: http://review.typo3.org/33195
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/fluid/Classes/View/StandaloneView.php
typo3/sysext/fluid/Classes/View/TemplateView.php