Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F582610
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
Wed, Apr 1, 21:52 (1 d, 3 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c3/4d/a65cb1a8525cb7735b520402fd65
Default Alt Text
LocalSettings.php (922 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment