4 * View configuration options.
6 * Changes to these config files are not supported by BookStack and may break upon updates.
7 * Configuration should be altered via the `.env` file or environment variables.
8 * Do not edit this file unless you're happy to maintain any changes yourself.
11 // Join up possible view locations
12 $viewPaths = [realpath(base_path('resources/views'))];
13 if ($theme = env('APP_THEME', false)) {
14 array_unshift($viewPaths, base_path('themes/' . $theme));
20 // This option defines the theme to use for the application. When a theme
21 // is set there must be a `themes/<theme_name>` folder to hold the
22 // custom theme overrides.
23 'theme' => env('APP_THEME', false),
26 // Most templating systems load templates from disk. Here you may specify
27 // an array of paths that should be checked for your views. Of course
28 // the usual Laravel view path has already been registered for you.
29 'paths' => $viewPaths,
32 // This option determines where all the compiled Blade templates will be
33 // stored for your application. Typically, this is within the storage
34 // directory. However, as usual, you are free to change this value.
35 'compiled' => realpath(storage_path('framework/views')),