X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=api.php;h=8fab878cfaa0a9f9658dee34cc9181268e44f5b8;hb=f49555f74cdc6ecb049f46a44c0cf7becf08bd3b;hp=9d7f6480ed31ba929416abc76c4559344256f8ce;hpb=ea4340e126eb2657cc878af74d53b9991844fb6b;p=lhc%2Fweb%2Fwiklou.git diff --git a/api.php b/api.php index 9d7f6480ed..8fab878cfa 100644 --- a/api.php +++ b/api.php @@ -36,12 +36,12 @@ define( 'MW_API', true ); // Bail if PHP is too low if ( !function_exists( 'version_compare' ) || version_compare( phpversion(), '5.3.2' ) < 0 ) { // We need to use dirname( __FILE__ ) here cause __DIR__ is PHP5.3+ - require( dirname( __FILE__ ) . '/includes/PHPVersionError.php' ); + require dirname( __FILE__ ) . '/includes/PHPVersionError.php'; wfPHPVersionError( 'api.php' ); } // Initialise common code. -require ( __DIR__ . '/includes/WebStart.php' ); +require __DIR__ . '/includes/WebStart.php'; wfProfileIn( 'api.php' ); $starttime = microtime( true );