X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=api.php;h=74ee775bbe9f8021b1f4e52370cea090c058d9ac;hb=b35ebdb1f568c2dea5dd504d7748116a68849e11;hp=7974f15cb2d1f6d498008a24cfe14658979d4765;hpb=509d2fa1b24cb2a4da077b033c8a486182dedb1d;p=lhc%2Fweb%2Fwiklou.git diff --git a/api.php b/api.php index 7974f15cb2..74ee775bbe 100644 --- a/api.php +++ b/api.php @@ -34,7 +34,7 @@ define( 'MW_API', true ); // Bail if PHP is too low -if ( !function_exists( 'version_compare' ) || version_compare( PHP_VERSION, '5.3.2' ) < 0 ) { +if ( !function_exists( 'version_compare' ) || version_compare( PHP_VERSION, '5.3.3' ) < 0 ) { // We need to use dirname( __FILE__ ) here cause __DIR__ is PHP5.3+ require dirname( __FILE__ ) . '/includes/PHPVersionError.php'; wfPHPVersionError( 'api.php' );