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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13958 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fSerny
2012-03-08 09:57:05 +00:00
parent 826be5612f
commit 02cdbcd2cd
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>