// fix addons themes not being fetched
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
tab: 'AdminThemes',
|
||||
token: '{$token}',
|
||||
ajax: '1',
|
||||
action:'getAddons',
|
||||
action:'getAddonsThemes',
|
||||
page:'themes'
|
||||
}, function(a){
|
||||
$("#prestastore-content").html("<legend><img src='../img/admin/prestastore.gif' class='middle' />{l s='Live from PrestaShop Addons!'}</legend>"+a);
|
||||
|
||||
@@ -340,7 +340,6 @@ class AdminThemesControllerCore extends AdminController
|
||||
// notice : readfile should be replaced by something else
|
||||
if (@fsockopen('addons.prestashop.com', 80, $errno, $errst, 3))
|
||||
readfile('http://addons.prestashop.com/adminmodules.php?lang='.$this->context->language->iso_code);
|
||||
$this->content = '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user