[+BUGFIX] Fluid (View): Fixed deprecation message about lowercase template files...
authorBastian Waidelich <bastian@typo3.org>
Thu, 30 Dec 2010 14:30:35 +0000 (14:30 +0000)
committerBastian Waidelich <bastian@typo3.org>
Thu, 30 Dec 2010 14:30:35 +0000 (14:30 +0000)
Fixes #10975

typo3/sysext/fluid/Classes/View/TemplateView.php

index b239546..c70463f 100644 (file)
@@ -191,9 +191,9 @@ class Tx_Fluid_View_TemplateView extends Tx_Fluid_View_AbstractTemplateView {
                                        }
                                        break;
                                } elseif (file_exists($fallbackPath)) {
+                                       t3lib_div::deprecationLog('the template filename "' . $fallbackPath . '" is lowercase. This is deprecated since TYPO3 4.4. Please rename the template to "' . basename($templatePathAndFilename) . '"');
                                        $found = TRUE;
                                        $templatePathAndFilename = $fallbackPath;
-                                       t3lib_div::deprecationLog('the template filename "' . $fallbackPath . '" is lowercase. This is deprecated since TYPO3 4.4. Please rename the template to "' . basename($templatePathAndFilename) . '"');
                                        break;
                                }
                        }