// remove themeinstallator from install modules list, now install from addons
This commit is contained in:
+2
-2
@@ -2388,11 +2388,11 @@ exit;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request == 'install_modules')
|
if ($request == 'install-modules')
|
||||||
{
|
{
|
||||||
// Define protocol accepted and post data values for this request
|
// Define protocol accepted and post data values for this request
|
||||||
$protocolsList = array('https://' => 443, 'http://' => 80);
|
$protocolsList = array('https://' => 443, 'http://' => 80);
|
||||||
$postData .= '&method=listing&action=install_modules';
|
$postData .= '&method=listing&action=install-modules';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -582,7 +582,6 @@ class InstallModelInstall extends InstallAbstractModel
|
|||||||
'statssearch',
|
'statssearch',
|
||||||
'statsstock',
|
'statsstock',
|
||||||
'statsvisits',
|
'statsvisits',
|
||||||
'themeinstallator',
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -592,7 +591,7 @@ class InstallModelInstall extends InstallAbstractModel
|
|||||||
public function getAddonsModulesList()
|
public function getAddonsModulesList()
|
||||||
{
|
{
|
||||||
$addons_modules = array();
|
$addons_modules = array();
|
||||||
$content = Tools::addonsRequest('install_modules');
|
$content = Tools::addonsRequest('install-modules');
|
||||||
$xml = @simplexml_load_string($content, null, LIBXML_NOCDATA);
|
$xml = @simplexml_load_string($content, null, LIBXML_NOCDATA);
|
||||||
foreach ($xml->module as $modaddons)
|
foreach ($xml->module as $modaddons)
|
||||||
$addons_modules[] = array('id_module' => $modaddons->id, 'name' => $modaddons->name);
|
$addons_modules[] = array('id_module' => $modaddons->id, 'name' => $modaddons->name);
|
||||||
|
|||||||
Reference in New Issue
Block a user