server/src/config/view.php
changeset 2 00e2916104fe
parent 1 01a844d292ac
equal deleted inserted replaced
1:01a844d292ac 2:00e2916104fe
     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 		realpath(base_path('resources/views'))
    17         realpath(base_path('resources/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' => realpath(storage_path().'/framework/views'),
    31     'compiled' => realpath(storage_path().'/framework/views'),
    32 
    32 
    33 ];
    33 ];