diff --git a/src/Serverfireteam/Panel/Commands/PanelCommand.php b/src/Serverfireteam/Panel/Commands/PanelCommand.php index 98df860..736ef17 100644 --- a/src/Serverfireteam/Panel/Commands/PanelCommand.php +++ b/src/Serverfireteam/Panel/Commands/PanelCommand.php @@ -3,6 +3,7 @@ use Illuminate\Console\Command; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputArgument; +use Illuminate\Support\Facades\File; class PanelCommand extends Command { @@ -62,6 +63,12 @@ public function handle() $this->call('migrate', array('--path' => 'vendor/serverfireteam/panel/src/database/migrations')); $this->call('db:seed', array('--class' => '\Serverfireteam\Panel\LinkSeeder')); + + //will use for elfinder package + $path = public_path().'/files/'; + if(!File::isDirectory($path)){ + File::makeDirectory($path, 0775, true, true); + } } /** diff --git a/src/views/master.blade.php b/src/views/master.blade.php index 7447c45..0fe61f7 100644 --- a/src/views/master.blade.php +++ b/src/views/master.blade.php @@ -26,6 +26,8 @@ {!! Rapyd::styles() !!} + @yield('style') +