// update module list url for 1.5 version

This commit is contained in:
aFolletete
2012-05-09 16:05:39 +00:00
parent 6119fed7c6
commit eb99f873d5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ class AdminModulesControllerCore extends AdminController
protected $iso_default_country;
protected $filter_configuration = array();
protected $xml_modules_list = 'api.prestashop.com/xml/modules_list.xml';
protected $xml_modules_list = 'api.prestashop.com/xml/modules_list_15.xml';
protected $addons_url = 'api.addons.prestashop.com';
protected $logged_on_addons = false;
protected $cache_file_modules_list = '/config/xml/modules_list.xml';
@@ -68,7 +68,7 @@ class ThemeInstallator extends Module
private function getTheNativeModules()
{
$xml = simplexml_load_string(Tools::file_get_contents('http://api.prestashop.com/xml/modules_list.xml'));
$xml = simplexml_load_string(Tools::file_get_contents('http://api.prestashop.com/xml/modules_list_15.xml'));
$natives = array();
if ($xml)
foreach ($xml->modules as $row)