X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=api.php;h=83c1373c14a97b645ad1d7948e1b774ded6806d0;hb=b8b64599d2ca558b1c48ca5cd7a4f29e2b269401;hp=af7c452550f19fb11aa3e49d7cdf7e41b9770c05;hpb=70a1ea48aa5f789d78d0f43c31049380f952ca8c;p=lhc%2Fweb%2Fwiklou.git diff --git a/api.php b/api.php index af7c452550..83c1373c14 100644 --- a/api.php +++ b/api.php @@ -35,11 +35,6 @@ use MediaWiki\Logger\LegacyLogger; // So extensions (and other code) can check whether they're running in API mode define( 'MW_API', true ); -// Bail on old versions of PHP, or if composer has not been run yet to install -// dependencies. Using dirname( __FILE__ ) here because __DIR__ is PHP5.3+. -require_once dirname( __FILE__ ) . '/includes/PHPVersionCheck.php'; -wfEntryPointCheck( 'api.php' ); - require __DIR__ . '/includes/WebStart.php'; $starttime = microtime( true );