mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-10 09:00:37 +01:00
Update InstallerController.php
This commit is contained in:
parent
5e7f80b274
commit
73eef01056
@ -59,6 +59,8 @@ class InstallerController extends Controller
|
||||
fclose($handleFile);
|
||||
}
|
||||
|
||||
try{EnvEditor::addKey('ADMIN_EMAIL', $email);}catch(Exception $e){}
|
||||
|
||||
if(DB::table('users')->count() == '0'){
|
||||
Schema::disableForeignKeyConstraints();
|
||||
DB::table('users')->delete();
|
||||
|
Loading…
x
Reference in New Issue
Block a user