Update finishing.blade.php

This commit is contained in:
Julian Prieber 2022-11-08 16:29:00 +01:00
parent be3d1db7ae
commit 9464886b85
1 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,12 @@
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'){
Schema::disableForeignKeyConstraints();
try {Artisan::call('db:seed');} catch (exception $e) {}
Schema::enableForeignKeyConstraints();
}
if (!config()->has('advanced-config.expand_panel_admin_menu_permanently') and !config()->has('disable_default_password_notice')) { if (!config()->has('advanced-config.expand_panel_admin_menu_permanently') and !config()->has('disable_default_password_notice')) {
function getStringBetween($string, $start, $end) { function getStringBetween($string, $start, $end) {