芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/app/Console/Commands/ResetApp.php
confirmToProceed()) { return; } $this->info('Running migrate:fresh'); Artisan::call('migrate:fresh --seed --force'); $this->info('Seeding database'); Artisan::call('db:seed', ['--class' => 'DemoSeeder', '--force' => true]); $path = base_path('.env'); if (file_exists($path)) { file_put_contents($path, str_replace( 'APP_DEBUG=true', 'APP_DEBUG=false', file_get_contents($path) )); } $this->info('App has been reset successfully'); } }