add shop base
This commit is contained in:
parent
e8d1fd1942
commit
925f372fb4
|
|
@ -58,7 +58,7 @@ class ShopServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
$this->app->singleton('view.finder', function ($app) {
|
$this->app->singleton('view.finder', function ($app) {
|
||||||
$paths = $app['config']['view.paths'];
|
$paths = $app['config']['view.paths'];
|
||||||
if ($theme = setting('base.theme')) {
|
if ($theme = system_setting('base.theme')) {
|
||||||
$customTheme[] = base_path("themes/{$theme}");
|
$customTheme[] = base_path("themes/{$theme}");
|
||||||
$paths = array_merge($customTheme, $paths);
|
$paths = array_merge($customTheme, $paths);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue