X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=load.php;h=1dd1a8939ccaf03175937a1978d9a81bb821d1b3;hb=6c2262319b7c34b62478ca3a100a10d9b763c520;hp=1790f4833df873034eda1141f62073c7df461753;hpb=5c5fb511c70346a660cb6aa388cc677e11d3bdab;p=lhc%2Fweb%2Fwiklou.git diff --git a/load.php b/load.php index 1790f4833d..1dd1a8939c 100644 --- a/load.php +++ b/load.php @@ -23,7 +23,7 @@ */ // Bail if PHP is too low -if ( !function_exists( 'version_compare' ) || version_compare( phpversion(), '5.3.2' ) < 0 ) { +if ( !function_exists( 'version_compare' ) || version_compare( PHP_VERSION, '5.3.2' ) < 0 ) { // We need to use dirname( __FILE__ ) here cause __DIR__ is PHP5.3+ require dirname( __FILE__ ) . '/includes/PHPVersionError.php'; wfPHPVersionError( 'load.php' );