Page MenuHomeWickedGov Phorge

Maintenance.php
No OneTemporary

Size
595 B
Referenced Files
None
Subscribers
None

Maintenance.php

<?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

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)

Event Timeline