Bug #10975 » fluid.diff

Oliver Klee, 2010-11-19 17:46

View differences:

Classes/View/TemplateView.php (working copy)
188 188
					// additional check for deprecated template filename for case insensitive file systems (Windows)
189 189
					$realFileName = basename(realpath($templatePathAndFilename));
190 190
					if ($realFileName !== ucfirst($realFileName)) {
191
						t3lib_div::deprecationLog('the template filename "' . t3lib_div::fixWindowsFilePath(realpath($templatePathAndFilename)) . '" is lowercase. This is deprecated since TYPO3 4.4. Please rename the template to "' . basename($templatePathAndFilename) . '"');
191
						t3lib_div::deprecationLog('the template filename "' . t3lib_div::fixWindowsFilePath(realpath($templatePathAndFilename)) . '" is lower-first camelCase. This is deprecated since TYPO3 4.4. Please rename the template to "' . ucfirst(basename($templatePathAndFilename)) . '"');
192 192
					}
193 193
					break;
194 194
				} elseif (file_exists($fallbackPath)) {
195 195
					$found = TRUE;
196
					$templatePathAndFilename = $fallbackPath;
197
					t3lib_div::deprecationLog('the template filename "' . $fallbackPath . '" is lowercase. This is deprecated since TYPO3 4.4. Please rename the template to "' . basename($templatePathAndFilename) . '"');
196
					t3lib_div::deprecationLog('the template filename "' . $fallbackPath . '" is is lower-first camelCase. This is deprecated since TYPO3 4.4. Please rename the template to "' . ucfirst(basename($fallbackPath)) . '"');
198 197
					break;
199 198
				}
200 199
			}
(1-1/2)