X-Git-Url: http://git.cyclocoop.org/%27%2C%20%20%20quote_amp%28%24url%29%2C%20%20%20%27?a=blobdiff_plain;f=api.php;h=6f4bac39015dd00d88e5678372a931f32fcdc4b4;hb=bfff8c74ffe8e559299dfc1428ea12fcc69eb904;hp=fe13263921325359393fde1ed37c79e52ebd4894;hpb=b37fca1cb6c04bd71dec687400ed55a518c19b85;p=lhc%2Fweb%2Fwiklou.git diff --git a/api.php b/api.php index fe13263921..6f4bac3901 100644 --- a/api.php +++ b/api.php @@ -31,6 +31,7 @@ use MediaWiki\Logger\LegacyLogger; // So extensions (and other code) can check whether they're running in API mode define( 'MW_API', true ); +define( 'MW_ENTRY_POINT', 'api' ); require __DIR__ . '/includes/WebStart.php';