[-] 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:
@@ -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>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>blocklink</name>
|
||||
<displayName><![CDATA[Link block]]></displayName>
|
||||
<version><![CDATA[1.5]]></version>
|
||||
<description><![CDATA[Adds a block with additional links.]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[front_office_features]]></tab>
|
||||
<module>
|
||||
<name>blocklink</name>
|
||||
<displayName><![CDATA[Link block]]></displayName>
|
||||
<version><![CDATA[1.5]]></version>
|
||||
<description><![CDATA[Adds a block with additional links.]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[front_office_features]]></tab>
|
||||
<confirmUninstall>Are you sure you want to delete all your links ?</confirmUninstall>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>0</need_instance>
|
||||
<is_configurable>0</is_configurable>
|
||||
<need_instance>0</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
||||
</module>
|
||||
Reference in New Issue
Block a user