mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-24 23:18:45 +02:00
Update finishing.blade.php
This commit is contained in:
parent
9464886b85
commit
ef95171779
@ -22,9 +22,9 @@
|
|||||||
if(EnvEditor::keyExists('ENABLE_SOCIAL_LOGIN')){ /* Do nothing if key already exists */
|
if(EnvEditor::keyExists('ENABLE_SOCIAL_LOGIN')){ /* Do nothing if key already exists */
|
||||||
} else {EnvEditor::addKey('ENABLE_SOCIAL_LOGIN', 'false');}
|
} else {EnvEditor::addKey('ENABLE_SOCIAL_LOGIN', 'false');}
|
||||||
|
|
||||||
if(file_get_contents(base_path("version.json")) > '2.9.1' and file_get_contents(base_path("version.json")) <= '3.0.0'){
|
if(file_get_contents(base_path("version.json")) >= '2.9.1' and file_get_contents(base_path("version.json")) <= '3.0.0'){
|
||||||
Schema::disableForeignKeyConstraints();
|
Schema::disableForeignKeyConstraints();
|
||||||
try {Artisan::call('db:seed');} catch (exception $e) {}
|
Artisan::call('db:seed --force');
|
||||||
Schema::enableForeignKeyConstraints();
|
Schema::enableForeignKeyConstraints();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user