llXmlAutoFileName.patch

Example for permitting localization files in fileadmin folder - Joschi Kuphal, 2013-04-12 22:19

Download (516 Bytes)

View differences:

GeneralUtility.php 2013-04-12 16:46:08.605534639 +0200
3832 3832
			// Is test (typo3_src deprecated as ov TYPO3 6.0):
3833 3833
			$validatedPrefix = PATH_site . 'typo3_src/tests/';
3834 3834
			$location = $validatedPrefix;
3835
		} elseif (self::isFirstPartOfStr($fileRef, PATH_site . 'fileadmin/')) {
3836
			// Is fileadmin:
3837
			$validatedPrefix = PATH_site . 'fileadmin/';
3838
			$location = $validatedPrefix;
3835 3839
		} else {
3836 3840
			$validatedPrefix = '';
3837 3841
		}