57 lines
1.5 KiB
PHP
57 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* view.php
|
|
*
|
|
* PHP version 7
|
|
*
|
|
* @category Config
|
|
* @license https://opensource.org/licenses/MIT MIT
|
|
* @link https://laravel.com
|
|
*/
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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' => [
|
|
resource_path('views'),
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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.
|
|
|
|
|
*/
|
|
|
|
'compiled' => realpath(storage_path('framework/views')),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Error View Path
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This option using by Exception/Handler.
|
|
| - if use file in the plugin : 'path' => 'plugin_name::view.path'
|
|
| - without theme : 'theme' => false
|
|
|
|
|
*/
|
|
'error' => [
|
|
'path' => 'errors',
|
|
'theme' => true,
|
|
],
|
|
];
|