X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=mw-config%2Findex.php;h=804d0a1159a4d7c2888a8bb28bbd43551da6bddc;hb=1c04b7ae610fc62d5cc8045d5bccd73188d77b13;hp=a47822bb815f9dcdb880cb55f5c37c61951ba739;hpb=733993fa54ecd9d55e52c88ed44be343b9a8abed;p=lhc%2Fweb%2Fwiklou.git diff --git a/mw-config/index.php b/mw-config/index.php index a47822bb81..804d0a1159 100644 --- a/mw-config/index.php +++ b/mw-config/index.php @@ -25,7 +25,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( 'mw-config/index.php' ); +wfEntryPointCheck( 'html', dirname( dirname( $_SERVER['SCRIPT_NAME'] ) ) ); define( 'MW_CONFIG_CALLBACK', 'Installer::overrideConfig' ); define( 'MEDIAWIKI_INSTALL', true );