// Fix synchronisation of images in new installer

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11565 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-22 09:38:32 +00:00
parent 59f46ddfe5
commit da1326a34d
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'])