forked from miraheze/mw-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDatabase.php
More file actions
41 lines (40 loc) · 747 Bytes
/
Copy pathDatabase.php
File metadata and controls
41 lines (40 loc) · 747 Bytes
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
<?php
$wgLBFactoryConf = array(
'class' => 'LBFactoryMulti',
'sectionsByDB' => array(
'allthetropeswiki' => 'c2',
'buswiki' => 'c2',
'centralauth' => 'c2',
'extloadwiki' => 'c2',
'loginwiki' => 'c2',
'supernamuwiki' => 'c2',
'tmewiki' => 'c2',
'zgradetenniswiki' => 'c2',
),
'sectionLoads' => array(
'DEFAULT' => array(
'db2' => 1,
),
'c1' => array(
'db2' => 1,
),
'c2' => array(
'db3' => 1,
),
),
'serverTemplate' => array(
'dbname' => $wgDBname,
'user' => $wgDBuser,
'password' => $wgDBpassword,
'type' => 'mysql',
),
'hostsByName' => array(
'db2' => '81.4.125.112',
'db3' => '81.4.127.157',
),
'readOnlyBySection' => array(
// 'DEFAULT' => '',
// 'c1' => '',
// 'c2' => '',
),
);