Update InstallerController.php
This commit is contained in:
parent
5e7f80b274
commit
73eef01056
|
@ -59,6 +59,8 @@ class InstallerController extends Controller
|
||||||
fclose($handleFile);
|
fclose($handleFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try{EnvEditor::addKey('ADMIN_EMAIL', $email);}catch(Exception $e){}
|
||||||
|
|
||||||
if(DB::table('users')->count() == '0'){
|
if(DB::table('users')->count() == '0'){
|
||||||
Schema::disableForeignKeyConstraints();
|
Schema::disableForeignKeyConstraints();
|
||||||
DB::table('users')->delete();
|
DB::table('users')->delete();
|
||||||
|
|
Loading…
Reference in New Issue