X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites%22%2C%22%22%29.%20%22?a=blobdiff_plain;f=index.php;h=0df4cd01adf8bb0c997dae73ea9642a2bb8f7bed;hb=fdc3e9f9524d91a492bdc212486d4518991c0fe2;hp=791ffb1345201aaf1c0a10b8c6badc778fa8e0fe;hpb=ba00b23a1d6fea3f05c617d3df73d60ab28dfdf4;p=lhc%2Fweb%2Fwiklou.git diff --git a/index.php b/index.php index 791ffb1345..0df4cd01ad 100644 --- a/index.php +++ b/index.php @@ -34,7 +34,7 @@ // 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';