[+] BO : added a new option for the products : do they appear in the catalog, in the search, both or neither
This commit is contained in:
@@ -37,6 +37,8 @@ class ModuleFrontControllerCore extends FrontController
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->controller_type = 'modulefront';
|
||||
|
||||
$this->module = Module::getInstanceByName(Tools::getValue('module'));
|
||||
if (!$this->module->active)
|
||||
Tools::redirect('index');
|
||||
|
||||
Reference in New Issue
Block a user