forked from elkarte/Elkarte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSettings_bak.sample.php
191 lines (162 loc) · 3.69 KB
/
Settings_bak.sample.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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<?php
########## Maintenance ##########
/**
* The maintenance "mode"
* Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
* 0 is default and disables maintenance mode.
* @var int 0, 1, 2
* @global int $maintenance
*/
$maintenance = 0;
/**
* Title for the Maintenance Mode message.
* @var string
* @global int $mtitle
*/
$mtitle = 'Maintenance Mode';
/**
* Description of why the forum is in maintenance mode.
* @var string
* @global string $mmessage
*/
$mmessage = 'Okay faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!';
########## Forum Info ##########
/**
* The name of your forum.
* @var string
*/
$mbname = 'My Community';
/**
* The default language file set for the forum.
* @var string
*/
$language = 'english';
/**
* URL to your forum's folder. (without the trailing /!)
* @var string
*/
$boardurl = 'http://127.0.0.1/elkarte';
/**
* Email address to send emails from. (like noreply@yourdomain.com.)
* @var string
*/
$webmaster_email = 'noreply@myserver.com';
/**
* Name of the cookie to set for authentication.
* @var string
*/
$cookiename = 'ElkArteCookie11';
########## Database Info ##########
/**
* The database type
* Default options: mysql, sqlite, postgresql
* @var string
*/
$db_type = 'mysql';
/**
* The server to connect to (or a Unix socket)
* @var string
*/
$db_server = 'localhost';
/**
* The port for the database server
* @var string
*/
$db_port = '';
/**
* The database name
* @var string
*/
$db_name = 'elkarte';
/**
* Database username
* @var string
*/
$db_user = 'root';
/**
* Database password
* @var string
*/
$db_passwd = '';
/**
* Database user for when connecting with SSI
* @var string
*/
$ssi_db_user = '';
/**
* Database password for when connecting with SSI
* @var string
*/
$ssi_db_passwd = '';
/**
* A prefix to put in front of your table names.
* This helps to prevent conflicts
* @var string
*/
$db_prefix = 'elkarte_';
/**
* Use a persistent database connection
* @var int|bool
*/
$db_persist = 0;
/**
*
* @var int|bool
*/
$db_error_send = 0;
########## Cache Info ##########
/**
* Select a cache system. You want to leave this up to the cache area of the admin panel for
* proper detection of apc, eaccelerator, memcache, mmcache, output_cache, xcache or filesystem-based
* (you can add more with a mod).
* @var string
*/
$cache_accelerator = '';
/**
* Cache accelerator userid, needed by some engines in order to clear the cache
* @var string
*/
$cache_uid = '';
/**
* Cache accelerator password for when connecting to clear the cache
* @var string
*/
$cache_password = '';
/**
* The level at which you would like to cache. Between 0 (off) through 3 (cache a lot).
* @var int
*/
$cache_enable = 0;
/**
* This is only used for memcache / memcached. Should be a string of 'server:port,server:port'
* @var array
*/
$cache_memcached = '';
/**
* This is only for the 'filebased' cache system. It is the path to the cache directory.
* It is also recommended that you place this in /tmp/ if you are going to use this.
* @var string
*/
$cachedir = __DIR__ . '/cache';
########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
/**
* The absolute path to the forum's folder. (not just '.'!)
* @var string
*/
$boarddir = __DIR__;
/**
* Path to the sources directory.
* @var string
*/
$sourcedir = __DIR__ . '/sources';
/**
* Path to the external resources directory.
* @var string
*/
$extdir = __DIR__ . '/sources/ext';
/**
* Path to the languages directory.
* @var string
*/
$languagedir = __DIR__ . '/themes/default/languages';