-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathframework-dist.conf
More file actions
155 lines (116 loc) · 3.58 KB
/
framework-dist.conf
File metadata and controls
155 lines (116 loc) · 3.58 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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Website configuration ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[site]
; If the site url its inside a directory inside the root www path set it to true
internal_path = true
; In the case the site has an internal path, set the directory or directories to
; get to the site.
;
; Example: if the site url its http://www.zcode.cl/awesome/site the relative path
; would be "/awesome/site".
relative_path = "/lighting"
; Default page title
page_title = "Lighting"
; In the case of being a multilingual site
multilang = false
; Default language
lang = "en"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Application configuration ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[application]
; Show PHP errors inside the site
; values: true, false
show_errors = true
; Set if we're gonna need authentication to see the site or some part of it.
; values: true, false
auth = false
; Default module to show in case no module is provided in the url.
default_module = "Home"
; Module to load in case of error (E.g. module not found, session not found)
error_module = "Home"
; Namespace of the project
project_namespace = "ZCode\Lighting\Demo"
; Enable preprocessing
preprocessing = false;
; Namespace of preprocessing class
preprocessing_namespace = ""
; Name of preprocessing class
preprocessing_class = ""
; Enable postprocessing
postprocessing = false;
; Namespace of postprocessing class
postprocessing_namespace = ""
; Name of post processing class
postprocessing_class = ""
;;;;;;;;;;;;;;;;;
; Databases ;
;;;;;;;;;;;;;;;;;
[database]
; Whether the web application uses database(s)
use_database = true
; Number of databases the web application its going to use
number_databases = 1
; Debug database connections and queries
debug_databases = true
[database_1]
; Name of the connection for retrieving it inside models
name = "lighting"
; Type of DBMS for this connection
database_type = "mysql"
; Name or IP of database server.
server = "localhost"
; Name of the specific database.
database = "lighting_demo"
; Database user
user = "lighting"
; User password.
password = "qwerty"
; Force connection charset to the database
force_charset = false
; The charset for the connecion (requires force_charset = true)
charset = "utf8"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Security ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[auth]
; Module to render for user login
login_module = "Login"
; Modules that require that the user is logged in to see them (comma separated list or * for all)
modules = "*"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Header ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[header]
; Whether the web application uses a header module
generate_header = false
; Name of the module for generating the header
header_module = 'Header'
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Menu ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[menu]
; Whether the web application uses a menu module
generate_menu = false
; Name of the module for generating the menus
menu_module = 'Menu'
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Footer ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[footer]
; Whether the web application uses a footer module
generate_footer = false
; Name of the module for generating the footer
footer_module = 'Footer'
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Log ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[log]
; Name of the log file to save
log_file = "app.log"
; Directory where the log file should be created
log_dir = ""
; Set if we want the log system to show debug information
; values: debug, info, notice, warning, error, critical, alert, emergency
log_level = "debug"