Selaa lähdekoodia

fix parent theme

1day2die 2 vuotta sitten
vanhempi
commit
a0483865bd
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      app/Providers/AppServiceProvider.php

+ 1 - 2
app/Providers/AppServiceProvider.php

@@ -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