コード例 #1
0
ファイル: Dispatcher.php プロジェクト: evilscripts/gy
 protected function __construct()
 {
     if (Module::isInstalled('agilemultipleshop')) {
         include_once _PS_ROOT_DIR_ . "/modules/agilemultipleshop/agilemultipleshop.php";
         $this->default_routes = array_merge($this->default_routes, AgileMultipleShop::get_rewrite_rules());
     }
     if (Module::isInstalled('agileshowcasemanager')) {
         include_once _PS_ROOT_DIR_ . "/modules/agileshowcasemanager/agileshowcasemanager.php";
         $this->default_routes = array_merge($this->default_routes, AgileShowcaseManager::get_rewrite_rules());
     }
     parent::__construct();
 }