]> BookStack Code Mirror - bookstack/blob - config/view.php
Updated Swedish translation
[bookstack] / config / view.php
1 <?php
2
3 $viewPaths = [realpath(base_path('resources/views'))];
4 if ($theme = env('APP_THEME', false)) {
5     array_unshift($viewPaths, base_path('themes/' . $theme));
6 }
7
8 return [
9
10     /*
11     |--------------------------------------------------------------------------
12     | App theme
13     |--------------------------------------------------------------------------
14     |
15     | This option defines the theme to use for the application. When a theme
16     | is set there mush be a `themes/<theme_name>` folder to hold the
17     | custom theme overrides.
18     |
19     */
20
21     'theme' => env('APP_THEME', false),
22
23     /*
24     |--------------------------------------------------------------------------
25     | View Storage Paths
26     |--------------------------------------------------------------------------
27     |
28     | Most templating systems load templates from disk. Here you may specify
29     | an array of paths that should be checked for your views. Of course
30     | the usual Laravel view path has already been registered for you.
31     |
32     */
33
34     'paths' => $viewPaths,
35
36     /*
37     |--------------------------------------------------------------------------
38     | Compiled View Path
39     |--------------------------------------------------------------------------
40     |
41     | This option determines where all the compiled Blade templates will be
42     | stored for your application. Typically, this is within the storage
43     | directory. However, as usual, you are free to change this value.
44     |
45     */
46
47     'compiled' => realpath(storage_path('framework/views')),
48
49 ];
Morty Proxy This is a proxified and sanitized view of the page, visit original site.