mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-25 12:22:30 +01:00
parent
96b8c403a8
commit
6988a6ff88
@ -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 New Issue
Block a user