We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 991f21d commit e3ae8dbCopy full SHA for e3ae8db
src/Serverfireteam/Panel/Commands/PanelCommand.php
@@ -3,6 +3,7 @@
3
use Illuminate\Console\Command;
4
use Symfony\Component\Console\Input\InputOption;
5
use Symfony\Component\Console\Input\InputArgument;
6
+use Illuminate\Support\Facades\File;
7
8
class PanelCommand extends Command {
9
@@ -62,6 +63,12 @@ public function handle()
62
63
$this->call('migrate', array('--path' => 'vendor/serverfireteam/panel/src/database/migrations'));
64
65
$this->call('db:seed', array('--class' => '\Serverfireteam\Panel\LinkSeeder'));
66
+
67
+ //will use for elfinder package
68
+ $path = public_path().'/files/';
69
+ if(!File::isDirectory($path)){
70
+ File::makeDirectory($path, 0775, true, true);
71
+ }
72
}
73
74
/**
0 commit comments