X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites%22%2C%22%22%29.%20%22?a=blobdiff_plain;f=rest.php;h=f647f91fe0e42158a93812f88467e96adc5fd105;hb=3c2e8a0f6176f9b8215b274ff3565d42030836be;hp=3ac532e43db94a8eb23da286f2fdd343f9055b39;hpb=672808c859d570fc66f8cf927237ea3f1e78eb9e;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();