This commit is contained in:
Pig Fang 2019-03-18 22:22:20 +08:00
parent e0a8d4cb3e
commit b426bc36a7

View File

@ -21,11 +21,6 @@ class SetupController extends Controller
if ($request->isMethod('get')) {
try {
DB::getPdo();
$content = File::get('..'.DIRECTORY_SEPARATOR.'.env');
$content = str_replace('FIRST_RUN = true', '', $content);
File::put('..'.DIRECTORY_SEPARATOR.'.env', $content);
return redirect('setup/info');
} catch (\Exception $e) {
return view('setup.wizard.database');