mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
parent
96b8c403a8
commit
6988a6ff88
@ -1,5 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
$viewPaths = [realpath(base_path('resources/views'))];
|
||||||
|
if ($theme = env('APP_THEME', false)) {
|
||||||
|
array_unshift($viewPaths, base_path('themes/' . $theme));
|
||||||
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -13,9 +18,7 @@ return [
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'paths' => [
|
'paths' => $viewPaths,
|
||||||
realpath(base_path('resources/views')),
|
|
||||||
],
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
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