Beispiel #1
0
 public function __destruct()
 {
     Bundle::disable('email');
     Bundle::disable('settings');
     Bundle::disable('modules');
     Bundle::disable('navigation');
 }
Beispiel #2
0
 public function __destruct()
 {
     Bundle::disable('settings');
 }
Beispiel #3
0
 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;
     }
 }
Beispiel #4
0
 public function __destruct()
 {
     Bundle::disable('groups');
 }
Beispiel #5
0
 public function __destruct()
 {
     Bundle::disable('themes');
     Bundle::disable('settings');
     Bundle::disable('modules');
 }
Beispiel #6
0
 public function __destruct()
 {
     Bundle::disable('settings');
     Bundle::disable('modules');
     Bundle::disable('splashscreen');
 }
Beispiel #7
0
 public function __destruct()
 {
     Bundle::disable('navigation');
     Bundle::disable('modules');
     Bundle::disable('pages');
 }
Beispiel #8
0
 public function __destruct()
 {
     Bundle::disable('pages');
 }