Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F581446
LocalSettings.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
922 B
Referenced Files
None
Subscribers
None
LocalSettings.php
View Options
<?php
// THIS IS NOT THE PLACE TO ADD CONFIG SETTINGS!!!!!
// This file is only for loading other config files.
$wikis
=
[
'www.wickedgov.org'
=>
'enwickedgov'
,
'meta.wickedgov.org'
=>
'metawiki'
,
'sterling.wickedgov.org'
=>
'ensterling'
,
'login.wickedgov.org'
=>
'loginwiki'
,
'tech.wickedgov.org'
=>
'entechwiki'
,
'commons.wickedgov.org'
=>
'commonswiki'
,
'test.wickedgov.org'
=>
'testwiki'
,
];
if
(
defined
(
'MW_DB'
)
)
{
// Automatically set from --wiki option to maintenance scripts
$wikiID
=
MW_DB
;
}
else
{
// Use MW_DB environment variable or map the domain name
$wikiID
=
$_SERVER
[
'MW_DB'
]
??
$wikis
[
$_SERVER
[
'SERVER_NAME'
]
??
''
]
??
null
;
}
if
(
$wikiID
)
{
require_once
"LocalSettings_$wikiID.php"
;
require_once
"InitialiseSettings.php"
;
}
else
{
die
(
'Unknown wiki.'
);
}
// Add any settings that should apply to all wikis below this line
// -------
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Mar 30, 16:37 (4 h, 29 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d0/16/d618c8f0de6831ed8ab8634c90b9
Default Alt Text
LocalSettings.php (922 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment