| 1 | <?php | = | 1 | <?php |
| 2 | 2 | |||
| 3 | return [ | 3 | return [ | |
| 4 | 4 | |||
| 5 | /* | 5 | /* | |
| 6 | |-------------------------------------------------------------------------- | 6 | |-------------------------------------------------------------------------- | |
| 7 | | View Storage Paths | 7 | | View Storage Paths | |
| 8 | |-------------------------------------------------------------------------- | 8 | |-------------------------------------------------------------------------- | |
| 9 | | | 9 | | | |
| 10 | | Most templating systems load templates from disk. Here you may specify | 10 | | Most templating systems load templates from disk. Here you may specify | |
| 11 | | an array of paths that should be checked for your views. Of course | 11 | | an array of paths that should be checked for your views. Of course | |
| 12 | | the usual Laravel view path has already been registered for you. | 12 | | the usual Laravel view path has already been registered for you. | |
| 13 | | | 13 | | | |
| 14 | */ | 14 | */ | |
| 15 | 15 | |||
| 16 | 'paths' => [ | 16 | 'paths' => [ | |
| 17 | resource_path('views'), | 17 | resource_path('views'), | |
| 18 | ], | 18 | ], | |
| 19 | 19 | |||
| 20 | /* | 20 | /* | |
| 21 | |-------------------------------------------------------------------------- | 21 | |-------------------------------------------------------------------------- | |
| 22 | | Compiled View Path | 22 | | Compiled View Path | |
| 23 | |-------------------------------------------------------------------------- | 23 | |-------------------------------------------------------------------------- | |
| 24 | | | 24 | | | |
| 25 | | This option determines where all the compiled Blade templates will be | 25 | | This option determines where all the compiled Blade templates will be | |
| 26 | | stored for your application. Typically, this is within the storage | 26 | | stored for your application. Typically, this is within the storage | |
| 27 | | directory. However, as usual, you are free to change this value. | 27 | | directory. However, as usual, you are free to change this value. | |
| 28 | | | 28 | | | |
| 29 | */ | 29 | */ | |
| 30 | 30 | |||
| 31 | 'compiled' => env( | 31 | 'compiled' => env( | |
| 32 | 'VIEW_COMPILED_PATH', | 32 | 'VIEW_COMPILED_PATH', | |
| 33 | realpath(storage_path('framework/views')) | 33 | realpath(storage_path('framework/views')) | |
| 34 | ), | 34 | ), | |
| 35 | 35 | |||
| -+ | 36 | /* | ||
| 37 | |-------------------------------------------------------------------------- | |||
| 38 | | Blade View Modification Checking | |||
| 39 | |-------------------------------------------------------------------------- | |||
| 40 | | | |||
| 41 | | On every request the framework will check to see if a view has expired | |||
| 42 | | to determine if it needs to be recompiled. If you are in production | |||
| 43 | | and precompiling views this feature may be disabled to save time. | |||
| 44 | | | |||
| 45 | */ | |||
| 46 | ||||
| 47 | 'expires' => env('VIEW_CHECK_EXPIRATION', true), | |||
| 48 | ||||
| 36 | ]; | = | 49 | ]; |