Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1430004
Maintenance.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
595 B
Referenced Files
None
Subscribers
None
Maintenance.php
View Options
<?php
/**
* Find and include Maintenance.php from mediawiki-core.
*
* XXX Note that langconv is included from mediawiki-core, via Parsoid,
* so we should hack the autoloader appropriately to ensure that
* our classes are preferentially loaded locally, not via the copy in
* mediawiki-core.
*/
if
(
strval
(
getenv
(
'MW_INSTALL_PATH'
)
)
!==
''
)
{
require_once
__DIR__
.
'/../vendor/autoload.php'
;
// this should take precedence
require_once
getenv
(
'MW_INSTALL_PATH'
)
.
'/maintenance/Maintenance.php'
;
}
else
{
error_log
(
'MW_INSTALL_PATH environment variable must be defined.'
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 18:16 (6 h, 39 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
06/ee/6f90d2b0f0f219ca4d17cca0890c
Default Alt Text
Maintenance.php (595 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment