X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=mw-config%2Findex.php;h=fc7eadb5a48bcccb3a9df5a8cc95dfc76f7b1a47;hb=bb81516af40d25f456980cdf5eedd1e2a3392466;hp=570b426edcd0cd99efba2531fb3517d43635f8a7;hpb=f10c9815e69b59844c178d218640bd1ac0435896;p=lhc%2Fweb%2Fwiklou.git diff --git a/mw-config/index.php b/mw-config/index.php index 570b426edc..fc7eadb5a4 100644 --- a/mw-config/index.php +++ b/mw-config/index.php @@ -23,6 +23,8 @@ 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';