コード例 #1
0
ファイル: group.php プロジェクト: EdgeCommerce/edgecommerce
 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();
     }
 }
コード例 #2
0
 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();
     }
 }
コード例 #3
0
ファイル: infotab.php プロジェクト: EdgeCommerce/edgecommerce
 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();
     }
 }
コード例 #4
0
ファイル: upsell.php プロジェクト: EdgeCommerce/edgecommerce
 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();
     }
 }
コード例 #5
0
ファイル: hotspot.php プロジェクト: EdgeCommerce/edgecommerce
 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();
     }
 }
コード例 #6
0
ファイル: order.php プロジェクト: EdgeCommerce/edgecommerce
 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();
     }
 }
コード例 #7
0
ファイル: stock.php プロジェクト: EdgeCommerce/edgecommerce
 public function before()
 {
     parent::before();
 }