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