X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=api.php;h=74ee775bbe9f8021b1f4e52370cea090c058d9ac;hb=c0fdf6f2022b95f52317a275992d99a84e5e5add;hp=7974f15cb2d1f6d498008a24cfe14658979d4765;hpb=09999942fa994949712edf04333cd375ec20c8f7;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' );