-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschranz_templating_twig.php
55 lines (46 loc) · 1.58 KB
/
schranz_templating_twig.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
return [
/*
|--------------------------------------------------------------------------
| Cache directory
|--------------------------------------------------------------------------
|
| Using directory for the cache files of twig templating files.
*/
'cache' => env(
'VIEW_COMPILED_PATH',
realpath(storage_path('framework/views'))
) . '/twig',
/*
|--------------------------------------------------------------------------
| Paths
|--------------------------------------------------------------------------
|
| Directory where the twig templates can be found.
*/
'paths' => resource_path('views'),
/*
|--------------------------------------------------------------------------
| Strict Variables
|--------------------------------------------------------------------------
|
| Defines if twig run in strict variables mode recommended for only development.
*/
'strict_variables' => env('APP_DEBUG', false),
/*
|--------------------------------------------------------------------------
| Debug
|--------------------------------------------------------------------------
|
| Defines if twig runs in debug mode.
*/
'debug' => env('APP_DEBUG', false),
/*
|--------------------------------------------------------------------------
| Optimizations
|--------------------------------------------------------------------------
|
| Optimizations the -1 enables all optimizations which is recommended.
*/
'optimizations' => -1,
];