public function before() { parent::before(); \Config::load('attribute::attribute', 'attribute'); // Check if module is disabled and forbid access to it if (\Config::get('attribute.enabled') == FALSE) { throw new \HttpNotFoundException(); } }
public function before() { parent::before(); \Config::load('page::accordion', 'details'); // Check if module is disabled and forbid access to it if (\Config::get('details.enabled') == FALSE) { throw new \HttpNotFoundException(); } }
public function before() { parent::before(); \Config::load('product::infotab', 'infotab'); // Check if module is disabled and forbid access to it if (\Config::get('infotab.enabled') == FALSE) { throw new \HttpNotFoundException(); } }
public function before() { parent::before(); \Config::load('product::product', 'details'); \Config::load('product::upsell', 'upsell'); // Check if module is disabled and forbid access to it if (\Config::get('upsell.enabled') == FALSE) { throw new \HttpNotFoundException(); } }
public function before() { parent::before(); \Config::load('application::application', 'details'); \Config::load('application::hotspot', 'hotspot'); \Config::load('application::infotab', 'infotab'); // Check if module is disabled and forbid access to it if (\Config::get('hotspot.enabled') == FALSE) { throw new \HttpNotFoundException(); } }
public function before() { parent::before(); \Config::load('order::order', 'details'); \Config::load('user::user', 'user'); \Config::load('auto_response_emails', true); // Check if module is disabled and forbid access to it if (\Config::get('details.enabled') == FALSE) { throw new \HttpNotFoundException(); } }
public function before() { parent::before(); }