diff --git a/classes/Tools.php b/classes/Tools.php index e5a2d8636..11673e5d9 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -2388,11 +2388,11 @@ exit; } } - if ($request == 'install_modules') + if ($request == 'install-modules') { // Define protocol accepted and post data values for this request $protocolsList = array('https://' => 443, 'http://' => 80); - $postData .= '&method=listing&action=install_modules'; + $postData .= '&method=listing&action=install-modules'; } diff --git a/install-dev/models/install.php b/install-dev/models/install.php index 68da421a4..5b632bcb7 100644 --- a/install-dev/models/install.php +++ b/install-dev/models/install.php @@ -582,7 +582,6 @@ class InstallModelInstall extends InstallAbstractModel 'statssearch', 'statsstock', 'statsvisits', - 'themeinstallator', ); } @@ -592,7 +591,7 @@ class InstallModelInstall extends InstallAbstractModel public function getAddonsModulesList() { $addons_modules = array(); - $content = Tools::addonsRequest('install_modules'); + $content = Tools::addonsRequest('install-modules'); $xml = @simplexml_load_string($content, null, LIBXML_NOCDATA); foreach ($xml->module as $modaddons) $addons_modules[] = array('id_module' => $modaddons->id, 'name' => $modaddons->name);