add shop base

This commit is contained in:
Edward Yang 2022-07-21 10:22:03 +08:00
parent e8d1fd1942
commit 925f372fb4
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class ShopServiceProvider extends ServiceProvider
{
$this->app->singleton('view.finder', function ($app) {
$paths = $app['config']['view.paths'];
if ($theme = setting('base.theme')) {
if ($theme = system_setting('base.theme')) {
$customTheme[] = base_path("themes/{$theme}");
$paths = array_merge($customTheme, $paths);
}