0006924_v2.patch

Administrator Admin, 2007-12-13 21:28

Download (1.29 KB)

View differences:

t3lib/class.t3lib_div.php (Arbeitskopie)
3714 3714
			$origCharset = $csConvObj->parse_charset($csConvObj->charSetArray[$langKey] ? $csConvObj->charSetArray[$langKey] : 'iso-8859-1');
3715 3715

  
3716 3716
				// Cache file name:
3717
			$hashSource = substr($fileRef,strlen(PATH_site)).'|'.date('d-m-Y H:i:s',filemtime($fileRef)).'|version=2.2';
3717
			$hashSource = substr($fileRef,strlen(PATH_site)).'|'.date('d-m-Y H:i:s',filemtime($fileRef)).'|version=2.3';
3718 3718
			$cacheFileName = PATH_site.'typo3temp/llxml/'.
3719 3719
							#str_replace('_','',ereg_replace('^.*\/','',dirname($fileRef))).
3720 3720
							#'_'.basename($fileRef).
......
3752 3752

  
3753 3753
						// If no entry is found for the language key, then force a value depending on meta-data setting. By default an automated filename will be used:
3754 3754
					$LOCAL_LANG[$langKey] = t3lib_div::llXmlAutoFileName($fileRef, $langKey);
3755
					if (!$LOCAL_LANG[$langKey] && isset($xmlContent['data'][$langKey]))	{
3755
					$localized_file = t3lib_div::getFileAbsFileName($LOCAL_LANG[$langKey]);
3756
					if (!@is_file($localized_file) && isset($xmlContent['data'][$langKey]))	{
3756 3757
						$LOCAL_LANG[$langKey] = $xmlContent['data'][$langKey];
3757 3758
					}
3758 3759