芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/yeahea.digitalhubbd.com/app/Jobs/ResetDbAndImportDemoData.php
<?php namespace App\Jobs; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Support\Facades\Artisan; class ResetDbAndImportDemoData { use Dispatchable; private $action; /** * Create a new job instance. * * @param reset/clean $action */ public function __construct($action = 'reset') { if (in_array($action, ['reset,clean'])) { $this->action = $action; } } /** * Execute the job. * * @return void */ public function handle() { if ($this->action == 'clean') { Artisan::call('incevio:fresh'); } else { Artisan::call('incevio:reset-demo --sql'); } Artisan::call('up'); } }
Page is not found
Oops! Page not found.
Sorry, an error has occured, Requested page not found!
Back To Homepage