]> BookStack Code Mirror - bookstack/blob - config/view.php
Added Swedish locale to config
[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     | View Storage Paths
13     |--------------------------------------------------------------------------
14     |
15     | Most templating systems load templates from disk. Here you may specify
16     | an array of paths that should be checked for your views. Of course
17     | the usual Laravel view path has already been registered for you.
18     |
19     */
20
21     'paths' => $viewPaths,
22
23     /*
24     |--------------------------------------------------------------------------
25     | Compiled View Path
26     |--------------------------------------------------------------------------
27     |
28     | This option determines where all the compiled Blade templates will be
29     | stored for your application. Typically, this is within the storage
30     | directory. However, as usual, you are free to change this value.
31     |
32     */
33
34     'compiled' => realpath(storage_path('framework/views')),
35
36 ];