Clean up
This commit is contained in:
parent
e0a8d4cb3e
commit
b426bc36a7
|
|
@ -21,11 +21,6 @@ class SetupController extends Controller
|
||||||
if ($request->isMethod('get')) {
|
if ($request->isMethod('get')) {
|
||||||
try {
|
try {
|
||||||
DB::getPdo();
|
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');
|
return redirect('setup/info');
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
return view('setup.wizard.database');
|
return view('setup.wizard.database');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user