X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=index.php;h=0df4cd01adf8bb0c997dae73ea9642a2bb8f7bed;hb=09ee5d2505f99cc146f871307be7ac00b7368d76;hp=67bd0c9aaea0297518a962793da2affd8d4079f7;hpb=5eda39e04ba76d73885fa1d7554e5e8d5622e47a;p=lhc%2Fweb%2Fwiklou.git diff --git a/index.php b/index.php index 67bd0c9aae..0df4cd01ad 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 * * ---------- * @@ -32,8 +32,9 @@ // 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+. +// phpcs:ignore MediaWiki.Usage.DirUsage.FunctionFound require_once dirname( __FILE__ ) . '/includes/PHPVersionCheck.php'; -wfEntryPointCheck( 'index.php' ); +wfEntryPointCheck( 'html', dirname( $_SERVER['SCRIPT_NAME'] ) ); require __DIR__ . '/includes/WebStart.php';