X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=load.php;h=1dd1a8939ccaf03175937a1978d9a81bb821d1b3;hb=2e9b0a1437ad80ebc99c0690d5da38c194c40c7e;hp=1790f4833df873034eda1141f62073c7df461753;hpb=b65669ff7adbbde55872a8ddd93214a9e1df75c6;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' );