Files
spa-api/config/view.php

50 lines
1.5 KiB
PHP
Raw Normal View History

2013-01-11 15:14:07 -06:00
<?php
2014-08-24 14:03:58 -05:00
return [
2013-01-11 15:14:07 -06:00
2015-02-22 20:47:03 -06: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.
|
*/
2013-01-11 15:14:07 -06:00
2015-02-22 20:47:03 -06:00
'paths' => [
2017-03-05 13:30:16 +02:00
resource_path('views'),
2015-02-22 20:47:03 -06:00
],
2013-01-11 15:14:07 -06:00
2015-02-22 20:47:03 -06:00
/*
|--------------------------------------------------------------------------
| Compiled View Path
|--------------------------------------------------------------------------
|
| 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-02 19:36:03 -05:00
'compiled' => env(
'VIEW_COMPILED_PATH',
realpath(storage_path('framework/views'))
),
2014-10-02 19:36:03 -05:00
2020-01-23 10:27:12 -06:00
/*
|--------------------------------------------------------------------------
2020-01-24 07:49:20 -06:00
| Blade View Modification Checking
2020-01-23 10:27:12 -06:00
|--------------------------------------------------------------------------
|
| On every request the framework will check to see if a view has expired
| to determine if it needs to be recompiled. If you are in production
2020-01-24 07:49:20 -06:00
| and precompiling views this feature may be disabled to save time.
2020-01-23 10:27:12 -06:00
|
*/
2020-01-24 07:49:20 -06:00
'expires' => env('VIEW_CHECK_EXPIRATION', true),
2020-01-23 10:27:12 -06:00
2014-08-24 14:03:58 -05:00
];