winter/config/view.php

34 lines
1019 B
PHP
Raw Normal View History

2014-05-14 23:24:20 +10:00
<?php
2015-02-07 19:42:40 +11:00
return [
2014-05-14 23:24:20 +10:00
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.
|
*/
2014-05-14 23:24:20 +10:00
2015-02-07 19:42:40 +11:00
'paths' => [
realpath(base_path('resources/views'))
],
2014-05-14 23:24:20 +10:00
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
|
*/
2014-05-14 23:24:20 +10:00
'compiled' => realpath(storage_path('framework/views')),
2014-05-14 23:24:20 +10:00
2015-02-07 19:42:40 +11:00
];