parent
96b8c403a8
commit
6988a6ff88
2 changed files with 8 additions and 3 deletions
|
@ -1,5 +1,10 @@
|
|||
<?php
|
||||
|
||||
$viewPaths = [realpath(base_path('resources/views'))];
|
||||
if ($theme = env('APP_THEME', false)) {
|
||||
array_unshift($viewPaths, base_path('themes/' . $theme));
|
||||
}
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|
@ -13,9 +18,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'paths' => [
|
||||
realpath(base_path('resources/views')),
|
||||
],
|
||||
'paths' => $viewPaths,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
2
themes/.gitignore
vendored
Executable file
2
themes/.gitignore
vendored
Executable file
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
Loading…
Reference in a new issue