mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-17 20:41:00 +01:00
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…
x
Reference in New Issue
Block a user