X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=api.php;h=8fab878cfaa0a9f9658dee34cc9181268e44f5b8;hb=fe140a5200824e1407c2842b1356321dc9333f96;hp=9d7f6480ed31ba929416abc76c4559344256f8ce;hpb=c8b2ad0c98ad36908b329ca1d8f408dec86bbf31;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 );