// update module list url for 1.5 version
This commit is contained in:
@@ -54,7 +54,7 @@ class AdminModulesControllerCore extends AdminController
|
|||||||
protected $iso_default_country;
|
protected $iso_default_country;
|
||||||
protected $filter_configuration = array();
|
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 $addons_url = 'api.addons.prestashop.com';
|
||||||
protected $logged_on_addons = false;
|
protected $logged_on_addons = false;
|
||||||
protected $cache_file_modules_list = '/config/xml/modules_list.xml';
|
protected $cache_file_modules_list = '/config/xml/modules_list.xml';
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ class ThemeInstallator extends Module
|
|||||||
|
|
||||||
private function getTheNativeModules()
|
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();
|
$natives = array();
|
||||||
if ($xml)
|
if ($xml)
|
||||||
foreach ($xml->modules as $row)
|
foreach ($xml->modules as $row)
|
||||||
|
|||||||
Reference in New Issue
Block a user