-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.php
More file actions
40 lines (36 loc) · 1.16 KB
/
app.php
File metadata and controls
40 lines (36 loc) · 1.16 KB
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
<?php
return [
'settings' => [
'env' => \Lib\Framework\App::DEVELOPMENT,
'addContentLengthHeader' => false,
// default timezone & locale
'timezone' => 'Europe/Lisbon',
'locale' => 'pt_PT',
// Only set this if you need access to route within middleware
'determineRouteBeforeAppMiddleware' => false,
// log file path
'log' => [
// log file path
'file' => STORAGE_PATH . "logs" . DS . "app_" . date('Ymd') . ".log",
],
// template folders
'templates' => [
'error' => RESOURCES_PATH . "views" . DS . "http" . DS . "error",
'console' => RESOURCES_PATH . "views" . DS . "console",
'site' => RESOURCES_PATH . "views" . DS . "http" . DS . "site",
'mail' => RESOURCES_PATH . "views" . DS . "mail",
],
// setting for twig extension
'twig' => [
'cache' => STORAGE_PATH . 'twig',
'debug' => true,
'auto_reload' => true,
]
],
// add your service providers here
'providers' => [
],
// add your middleware here
'middleware' => [
],
];