Project

General

Profile

Bug #18161 » bug7445_4-1.patch

Administrator Admin, 2008-02-07 15:49

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.' was not XML!: '.$local_xmlContent);
}
$LOCAL_LANG[$langKey] = is_array($local_xmlContent['data'][$langKey]) ? $local_xmlContent['data'][$langKey] : array();
// Checking if charset should be converted.
(1-1/2)