[-] BO : Fix on module config file generation (simplexml can't load file when starts with blank space)

This commit is contained in:
fSerny
2012-03-08 09:57:05 +00:00
parent ceff412b21
commit be837c0ca8
2 changed files with 11 additions and 12 deletions

View File

@@ -1534,8 +1534,7 @@ abstract class ModuleCore
protected function _generateConfigXml()
{
$xml = '
<?xml version="1.0" encoding="UTF-8" ?>
$xml = '<?xml version="1.0" encoding="UTF-8" ?>
<module>
<name>'.$this->name.'</name>
<displayName><![CDATA['.Tools::htmlentitiesUTF8($this->displayName).']]></displayName>