forked from scandio/lmvc-patat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample-config.json
120 lines (109 loc) · 3.61 KB
/
sample-config.json
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"appPath": "./",
"appNamespace": "",
"controllers": ["controllers"],
"modules": [
"Scandio\\lmvc\\modules\\session",
"Scandio\\lmvc\\modules\\upload",
"Scandio\\lmvc\\modules\\assetpipeline",
"Scandio\\lmvc\\modules\\security",
"Scandio\\lmvc\\modules\\registration",
"Scandio\\lmvc\\modules\\i18n",
"Scandio\\lmvc\\modules\\logger"
],
"I18n": {
"languages": ["en", "de", "el", "sv", "ru", "bl"],
"default": "en",
"path": "locales",
"format": "yaml"
},
"views": ["./app/views"],
"dsn": "mysql:host=localhost;dbname=lmvc_patat",
"username": "root",
"password": "boot",
"logger": {
"level": "ERROR",
"logRoot": null,
"scribes": [{
"namespace": "\\Scandio\\lmvc\\utils\\logger\\scribes\\FileScribe",
"formatter": "\\Scandio\\lmvc\\utils\\logger\\formatters\\LineFormatter",
"level": "ERROR",
"path": "logs"
}, {
"namespace": "\\Scandio\\lmvc\\utils\\logger\\scribes\\ChromeScribe",
"formatter": "\\Scandio\\lmvc\\utils\\logger\\formatters\\ChromeFormatter",
"level": "ERROR",
"headername": "X-ChromeLogger-Data",
"version": "4.0.3"
}]
},
"rendering": {
"handlers": {
"php": {
"namespace": "\\Scandio\\lmvc\\modules\\rendering\\handlers\\PhpHandler",
"extension": "html"
},
"smarty": {
"namespace": "\\Scandio\\lmvc\\modules\\rendering\\handlers\\SmartyHandler",
"extension": "smarty"
},
"mustache": {
"namespace": "\\Scandio\\lmvc\\modules\\rendering\\handlers\\MustacheHandler",
"extension": "mustache"
},
"json": {
"namespace": "\\Scandio\\lmvc\\modules\\rendering\\handlers\\JsonHandler",
"extension": null
},
"html": {
"namespace": "\\Scandio\\lmvc\\modules\\rendering\\handlers\\HtmlHandler",
"extension": null
}
}
},
"security": {
"principal": "\\Scandio\\lmvc\\modules\\security\\handlers\\database\\DatabasePrincipal"
},
"registration": {
"mediator": "\\Scandio\\lmvc\\modules\\registration\\handlers\\DatabaseMediator"
},
"assetpipeline" : {
"useFolders": true,
"304-caching": false,
"assetDirectories": {
"js": {
"fallbacks": ["../bower", "../composer"]
} ,
"coffee": {
"fallbacks": ["../bower", "../composer"]
},
"css": {
"fallbacks": ["../bower", "../composer"]
},
"sass": {
"fallbacks": ["../bower", "../composer"]
},
"less": {
"fallbacks": ["../bower", "../composer"]
},
"img": {
"fallbacks": []
}
}
},
"emails": {
"sender": "LMVC Patat <[email protected]>",
"subjects": {
"registration": "Signup verification"
},
"messages": {
"registration": "<h1>Dear {username},</h1><p> To complete your signup please click this "
},
"headers": {
"content": "Content-type: text/html; charset=windows-1251 \r\n"
},
"links": {
"emailVerification": "<a href=\"http:\/\/sep007.tdeekens.name\/registration\/finish\/{usernamehash}\/{email}\/{randomkey}\">link</a> "
}
}
}