X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=rest.php;h=f647f91fe0e42158a93812f88467e96adc5fd105;hb=e900893531e76fb8f80c1c9b5be459fd02862c3c;hp=3ac532e43db94a8eb23da286f2fdd343f9055b39;hpb=c9db90712628d43573f47a2b32dca0778cd8f1f7;p=lhc%2Fweb%2Fwiklou.git diff --git a/rest.php b/rest.php index 3ac532e43d..f647f91fe0 100644 --- a/rest.php +++ b/rest.php @@ -23,6 +23,9 @@ use MediaWiki\Rest\EntryPoint; +define( 'MW_REST_API', true ); +define( 'MW_ENTRY_POINT', 'rest' ); + require __DIR__ . '/includes/WebStart.php'; EntryPoint::main();