-
Notifications
You must be signed in to change notification settings - Fork 61
/
Settings.sample.php
188 lines (159 loc) · 4 KB
/
Settings.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
<?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.
* @global int $maintenance
*/
$maintenance = 0;
/**
* Title for the Maintenance Mode message.
* @global string $mtitle
*/
$mtitle = 'Maintenance Mode';
/**
* Description of why the forum is in maintenance mode.
* @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.
* @global string $mbname
*/
$mbname = 'My Community';
/**
* The default language file set for the forum.
* @global string $language
*/
$language = 'English';
/**
* URL to your forum's folder. (without the trailing /!)
* @global string $boardurl
*/
$boardurl = 'http://127.0.0.1/elkarte';
/**
* Email address to send emails from. (like [email protected].)
* @global string $webmaster_email
*/
$webmaster_email = '[email protected]';
/**
* Name of the cookie to set for authentication.
* @global string $cookiename
*/
$cookiename = 'ElkArteCookie11';
########## Database Info ##########
/**
* The database type
* Default options: mysql, sqlite, postgresql
* @global string $db_type
*/
$db_type = 'mysql';
/**
* The server to connect to (or a Unix socket)
* @global string $db_server
*/
$db_server = 'localhost';
/**
* The port for the database server
* @global string $db_port
*/
$db_port = '';
/**
* The database name
* @global string $db_name
*/
$db_name = 'elkarte';
/**
* Database username
* @global string $db_user
*/
$db_user = 'root';
/**
* Database password
* @global string $db_passwd
*/
$db_passwd = '';
/**
* Database user for when connecting with SSI
* @global string $ssi_db_user
*/
$ssi_db_user = '';
/**
* Database password for when connecting with SSI
* @global string $ssi_db_passwd
*/
$ssi_db_passwd = '';
/**
* A prefix to put in front of your table names.
* This helps to prevent conflicts
* @global string $db_prefix
*/
$db_prefix = 'elkarte_';
/**
* Use a persistent database connection
* @global int|bool $db_persist
*/
$db_persist = 0;
/**
*
* @global int|bool $db_error_send
*/
$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 or filesystem-based
* (you can add more with a mod).
* @global string $cache_accelerator
*/
$cache_accelerator = '';
/**
* The level at which you would like to cache. Between 0 (off) through 3 (cache a lot).
* @global int $cache_enable
*/
$cache_enable = 0;
/**
* This is only used for memcache / memcached / redis. Should be a string of 'server:port,server:port'
* @global string $cache_servers
*/
$cache_servers = '';
/**
* 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.
* @global string $cachedir
*/
$cachedir = __DIR__ . '/cache';
/**
* Cache accelerator userid / dbname, required by some engines
* @global string $cache_uid
*/
$cache_uid = '';
/**
* Cache accelerator password for connecting, required by somme engines
* @global string $cache_password
*/
$cache_password = '';
########## 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 '.'!)
* @global string $boarddir
*/
$boarddir = __DIR__;
/**
* Path to the sources directory.
* @global string $sourcedir
*/
$sourcedir = __DIR__ . '/sources';
/**
* Path to the external resources' directory.
* @global string $extdir
*/
$extdir = __DIR__ . '/sources/ext';
/**
* Path to the languages directory.
* @global string
*/
$languagedir = __DIR__ . '/sources/ElkArte/Languages';