fix parent theme

This commit is contained in:
1day2die 2023-01-11 11:20:23 +01:00
parent 3cc927c0b5
commit a0483865bd

View file

@ -61,13 +61,12 @@ class AppServiceProvider extends ServiceProvider
config([$setting->key => $setting->value]);
}
if(!file_exists(base_path('themes')."/".config("SETTINGS::SYSTEM:THEME"))){
config(['SETTINGS::SYSTEM:THEME' => "default"]);
}
if(config('theme.active') == null){
Theme::set(config("SETTINGS::SYSTEM:THEME"));
Theme::set(config("SETTINGS::SYSTEM:THEME"), "default");
}
// Set Mail Config