Skip to content

Commit

Permalink
Merge pull request #399 from RezaAb/master
Browse files Browse the repository at this point in the history
fix some bugs
  • Loading branch information
AlirezaAlgo authored Jul 2, 2019
2 parents 674a03a + e3ae8db commit 76e6da0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Serverfireteam/Panel/Commands/PanelCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down Expand Up @@ -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);
}
}

/**
Expand Down
4 changes: 4 additions & 0 deletions src/views/master.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

{!! Rapyd::styles() !!}

@yield('style')

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
Expand Down Expand Up @@ -70,6 +72,8 @@

{!! Rapyd::scripts() !!}

@yield('script')

</body>

</html>

0 comments on commit 76e6da0

Please sign in to comment.