X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=index.php;h=0df4cd01adf8bb0c997dae73ea9642a2bb8f7bed;hb=3f264a4f62f25deac6f19123702b9054ce7e03d7;hp=743f77bd27262d3d07eaebb18a6b5f7f60733c71;hpb=a5be382adfdad4678eec18413c6a118cb3284daf;p=lhc%2Fweb%2Fwiklou.git diff --git a/index.php b/index.php index 743f77bd27..0df4cd01ad 100644 --- a/index.php +++ b/index.php @@ -32,10 +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+. -// @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';