コード例 #1
0
ファイル: schema.php プロジェクト: juaniiie/mwi
 public function __destruct()
 {
     Bundle::disable('email');
     Bundle::disable('settings');
     Bundle::disable('modules');
     Bundle::disable('navigation');
 }
コード例 #2
0
ファイル: schema.php プロジェクト: juaniiie/mwi
 public function __destruct()
 {
     Bundle::disable('settings');
 }
コード例 #3
0
ファイル: installer.php プロジェクト: juaniiie/mwi
 public static function publish($module_slug)
 {
     require path('sys') . 'cli' . DS . 'dependencies' . EXT;
     try {
         $module_assets_path = path('bundle') . $module_slug . DS . 'public' . DS;
         if (\File::exists($module_assets_path)) {
             \Bundle::register($module_slug);
             $publish_cmd = \Laravel\CLI\Command::run(array('bundle:publish', $module_slug));
             \Bundle::disable($module_slug);
             return true;
         }
         return true;
     } catch (\Exception $e) {
         Log::error($e->getMessage());
         Log::error('Failed to publish assets for module [' . $module_slug . '].');
         return false;
     }
 }
コード例 #4
0
ファイル: schema.php プロジェクト: juaniiie/mwi
 public function __destruct()
 {
     Bundle::disable('groups');
 }
コード例 #5
0
ファイル: schema.php プロジェクト: juaniiie/mwi
 public function __destruct()
 {
     Bundle::disable('themes');
     Bundle::disable('settings');
     Bundle::disable('modules');
 }
コード例 #6
0
ファイル: schema.php プロジェクト: juaniiie/mwi
 public function __destruct()
 {
     Bundle::disable('settings');
     Bundle::disable('modules');
     Bundle::disable('splashscreen');
 }
コード例 #7
0
ファイル: schema.php プロジェクト: juaniiie/mwi
 public function __destruct()
 {
     Bundle::disable('navigation');
     Bundle::disable('modules');
     Bundle::disable('pages');
 }
コード例 #8
0
ファイル: schema.php プロジェクト: juaniiie/mwi
 public function __destruct()
 {
     Bundle::disable('pages');
 }