Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
settings.example.php
Go to the documentation of this file.
1
<?php
17
global
$CONFIG
;
18
if
(!isset(
$CONFIG
)) {
19
$CONFIG
=
new
stdClass;
20
}
21
22
/*
23
* Standard configuration
24
*
25
* You will use the same database connection for reads and writes.
26
* This is the easiest configuration, and will suit 99.99% of setups. However, if you're
27
* running a really popular site, you'll probably want to spread out your database connections
28
* and implement database replication. That's beyond the scope of this configuration file
29
* to explain, but if you know you need it, skip past this section.
30
*/
31
37
$CONFIG
->dbuser =
'{{dbuser}}'
;
38
44
$CONFIG
->dbpass =
'{{dbpassword}}'
;
45
51
$CONFIG
->dbname =
'{{dbname}}'
;
52
60
$CONFIG
->dbhost =
'{{dbhost}}'
;
61
71
$CONFIG
->dbprefix =
'{{dbprefix}}'
;
72
81
//$CONFIG->db['split'] = true;
82
83
//$CONFIG->db['write']['dbuser'] = "";
84
//$CONFIG->db['write']['dbpass'] = "";
85
//$CONFIG->db['write']['dbname'] = "";
86
//$CONFIG->db['write']['dbhost'] = "";
87
88
//$CONFIG->db['read'][0]['dbuser'] = "";
89
//$CONFIG->db['read'][0]['dbpass'] = "";
90
//$CONFIG->db['read'][0]['dbname'] = "";
91
//$CONFIG->db['read'][0]['dbhost'] = "";
92
//$CONFIG->db['read'][1]['dbuser'] = "";
93
//$CONFIG->db['read'][1]['dbpass'] = "";
94
//$CONFIG->db['read'][1]['dbname'] = "";
95
//$CONFIG->db['read'][1]['dbhost'] = "";
96
108
//$CONFIG->memcache = true;
109
//
110
//$CONFIG->memcache_servers = array (
111
// array('server1', 11211),
112
// array('server2', 11211)
113
//);
114
115
125
//$CONFIG->dataroot = "";
126
//$CONFIG->simplecache_enabled = true;
127
128
145
// get the default parameters from php.ini
146
//$CONFIG->cookies['session'] = session_get_cookie_params();
147
//$CONFIG->cookies['session']['name'] = "Elgg";
148
// optionally overwrite the defaults from php.ini below
149
//$CONFIG->cookies['session']['path'] = "/";
150
//$CONFIG->cookies['session']['domain'] = "";
151
//$CONFIG->cookies['session']['secure'] = false;
152
//$CONFIG->cookies['session']['httponly'] = false;
153
154
// extended session cookie
155
//$CONFIG->cookies['remember_me'] = session_get_cookie_params();
156
//$CONFIG->cookies['remember_me']['name'] = "elggperm";
157
//$CONFIG->cookies['remember_me']['expire'] = strtotime("+30 days");
158
// optionally overwrite the defaults from php.ini below
159
//$CONFIG->cookies['remember_me']['path'] = "/";
160
//$CONFIG->cookies['remember_me']['domain'] = "";
161
//$CONFIG->cookies['remember_me']['secure'] = false;
162
//$CONFIG->cookies['remember_me']['httponly'] = false;
163
164
174
$CONFIG
->broken_mta =
false
;
175
185
$CONFIG
->db_disable_query_cache =
false
;
186
194
$CONFIG
->min_password_length = 6;
195
211
$CONFIG
->exception_include =
''
;
$CONFIG
global $CONFIG
Definition:
settings.example.php:17
global
elgg global
Pointer to the global context.
Definition:
elgglib.js:12
Generated on Sat Dec 21 2024 00:00:35 for Elgg by
1.8.11