winter/config/view.php

35 lines
1.2 KiB
PHP
Raw Normal View History

2014-05-14 23:24:20 +10:00
<?php
2015-02-07 19:42:40 +11:00
return [
2014-10-10 21:54:19 +02:00
/*
|--------------------------------------------------------------------------
| View Storage Paths
|--------------------------------------------------------------------------
|
| Most templating systems load templates from disk. Here you may specify
| an array of paths that should be checked for your views. Of course
| the usual Laravel view path has already been registered for you.
|
*/
'paths' => [
// Default Laravel Blade template location
// @see https://github.com/octobercms/october/issues/3473 & https://github.com/octobercms/october/issues/3459
// realpath(base_path('resources/views'))
],
2014-10-10 21:54:19 +02:00
/*
|--------------------------------------------------------------------------
2015-02-07 19:42:40 +11:00
| Compiled View Path
2014-10-10 21:54:19 +02:00
|--------------------------------------------------------------------------
|
2015-02-07 19:42:40 +11:00
| This option determines where all the compiled Blade templates will be
| stored for your application. Typically, this is within the storage
| directory. However, as usual, you are free to change this value.
2014-10-10 21:54:19 +02:00
|
*/
'compiled' => env('VIEW_COMPILED_PATH', realpath(storage_path('framework/views'))),
2015-02-07 19:42:40 +11:00
];