Project

General

Profile

Bug #18161 » bug7445_4-2.patch

Administrator Admin, 2008-02-07 16:03

View differences:

t3lib/class.t3lib_div.php (working copy)
// Read and parse XML content:
$local_xmlString = t3lib_div::getUrl($localized_file);
$local_xmlContent = t3lib_div::xml2array($local_xmlString);
if (!is_array($local_xmlContent)) {
die('\''.$localized_file.'\' is no TYPO3 language file)!');
}
$LOCAL_LANG[$langKey] = is_array($local_xmlContent['data'][$langKey]) ? $local_xmlContent['data'][$langKey] : array();
// Checking if charset should be converted.
(2-2/2)