// Fix synchronisation of images in new installer

This commit is contained in:
rMalie
2011-12-22 09:38:32 +00:00
parent 97a58b3fac
commit 2fd5cd36a1
160 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -828,9 +828,9 @@ class InstallXmlLoader
if (!is_dir($this->lang_path.$iso.'/data'))
mkdir($this->lang_path.$iso.'/data');
$xml = new SimpleXMLElement('<entity_'.$entity.' />');
$this->createXmlEntityNodes($entity, $nodes, $xml);
$this->writeNiceAndSweetXML($xml, $this->lang_path.$iso.'/data/'.$entity.'.xml');
$xml_node = new SimpleXMLElement('<entity_'.$entity.' />');
$this->createXmlEntityNodes($entity, $nodes, $xml_node);
$this->writeNiceAndSweetXML($xml_node, $this->lang_path.$iso.'/data/'.$entity.'.xml');
}
if ($xml->fields['image'])