mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-21 05:37:36 +02:00
Update finishing.blade.php
This commit is contained in:
parent
b2f5709ce0
commit
5e7f80b274
@ -52,6 +52,10 @@ use App\Models\Page;
|
|||||||
if(EnvEditor::keyExists('MANUAL_USER_VERIFICATION')){ /* Do nothing if key already exists */
|
if(EnvEditor::keyExists('MANUAL_USER_VERIFICATION')){ /* Do nothing if key already exists */
|
||||||
} else {EnvEditor::addKey('MANUAL_USER_VERIFICATION', 'false');}
|
} else {EnvEditor::addKey('MANUAL_USER_VERIFICATION', 'false');}
|
||||||
|
|
||||||
|
if(EnvEditor::keyExists('ADMIN_EMAIL')){} else
|
||||||
|
{if(auth()->user()->id == 1){EnvEditor::addKey('ADMIN_EMAIL', App\Models\User::find(1)->email);}
|
||||||
|
else{EnvEditor::addKey('ADMIN_EMAIL', '');}}
|
||||||
|
|
||||||
if(env('APP_NAME') == 'LittleLink Custom' or env('APP_NAME') == 'LittleLink') {
|
if(env('APP_NAME') == 'LittleLink Custom' or env('APP_NAME') == 'LittleLink') {
|
||||||
EnvEditor::editKey('APP_NAME', 'LinkStack');
|
EnvEditor::editKey('APP_NAME', 'LinkStack');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user