http -> https rewrite: Only replace one http by https
[lhc/web/wiklou.git] / mw-config / index.php
index 270a8b2..fc7eadb 100644 (file)
 define( 'MW_CONFIG_CALLBACK', 'Installer::overrideConfig' );
 define( 'MEDIAWIKI_INSTALL', true );
 
+// Resolve relative to regular MediaWiki root
+// instead of mw-config subdirectory.
 chdir( dirname( __DIR__ ) );
-require( dirname( __DIR__ ) . '/includes/WebStart.php' );
+require dirname( __DIR__ ) . '/includes/WebStart.php';
 
 wfInstallerMain();