X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=index.php;h=5c2d290af8810144e351c04eda380db8fdadb79e;hb=e2509cbd3077ef80de2d8e2a1217340b55c7039f;hp=24230923bcf45f8733cbf68e7fae9e18249a301b;hpb=865f4f8d6b22d166039f6721bbfe098309594aff;p=lhc%2Fweb%2Fwiklou.git diff --git a/index.php b/index.php index 24230923bc..5c2d290af8 100644 --- a/index.php +++ b/index.php @@ -8,7 +8,7 @@ * See the README, INSTALL, and UPGRADE files for basic setup instructions * and pointers to the online documentation. * - * https://www.mediawiki.org/ + * https://www.mediawiki.org/wiki/Special:MyLanguage/MediaWiki * * ---------- * @@ -30,12 +30,13 @@ * @file */ +define( 'MW_ENTRY_POINT', 'index' ); + // Bail on old versions of PHP, or if composer has not been run yet to install // dependencies. Using dirname( __FILE__ ) here because __DIR__ is PHP5.3+. -// @codingStandardsIgnoreStart MediaWiki.Usage.DirUsage.FunctionFound +// phpcs:ignore MediaWiki.Usage.DirUsage.FunctionFound require_once dirname( __FILE__ ) . '/includes/PHPVersionCheck.php'; -// @codingStandardsIgnoreEnd -wfEntryPointCheck( 'index.php' ); +wfEntryPointCheck( 'html', dirname( $_SERVER['SCRIPT_NAME'] ) ); require __DIR__ . '/includes/WebStart.php';