MediaWiki REL1_31
index.php
Go to the documentation of this file.
1<?php
33// Bail on old versions of PHP, or if composer has not been run yet to install
34// dependencies. Using dirname( __FILE__ ) here because __DIR__ is PHP5.3+.
35// phpcs:ignore MediaWiki.Usage.DirUsage.FunctionFound
36require_once dirname( __FILE__ ) . '/includes/PHPVersionCheck.php';
37wfEntryPointCheck( 'index.php' );
38
39require __DIR__ . '/includes/WebStart.php';
40
42$mediaWiki->run();
wfEntryPointCheck( $entryPoint)
Check php version and that external dependencies are installed, and display an informative error if e...
$mediaWiki
Definition index.php:41
A helper class for throttling authentication attempts.