/** * Bootstrap the application services. * * @return void */ public function boot() { if (!$this->app->routesAreCached()) { require __DIR__ . '/../Http/routes.php'; } $this->publishes([__DIR__ . '/../Database/migrations/' => database_path('migrations')], 'migrations'); $this->publishes([__DIR__ . '/../Resources/lang/' => public_path('themes/' . Theme::getActive() . '/assets/resources/auth')], 'lang'); }
/** * Bootstrap the application services. * * @return void */ public function boot() { $this->publishes([__DIR__ . '/../Database/migrations/' => database_path('migrations')], 'migrations'); $this->publishes([__DIR__ . '/../Database/seeds/' => database_path('seeds')], 'seeds'); /*$this->publishes([ __DIR__.'/../Resources/lang/' => public_path('themes/'. Theme::getActive() . '/assets/resources/admin'), ], 'lang');*/ $this->publishes([__DIR__ . '/../Resources/data/' => public_path('themes/' . Theme::getActive() . '/assets/data')], 'data'); $this->publishes([__DIR__ . '/../Resources/Views/' => public_path('themes/') . Theme::getActive() . '/views/'], 'views'); }