Index: trunk/phase3/maintenance/Maintenance.php |
— | — | @@ -27,10 +27,10 @@ |
28 | 28 | $maintClass = false; |
29 | 29 | |
30 | 30 | // Make sure we're on PHP5 or better |
31 | | -if ( version_compare( PHP_VERSION, '5.1.0' ) < 0 ) { |
32 | | - die ( "Sorry! This version of MediaWiki requires PHP 5.1.x; you are running " . |
| 31 | +if ( version_compare( PHP_VERSION, Installer::MINIMUM_PHP_VERSION ) < 0 ) { |
| 32 | + die ( "Sorry! This version of MediaWiki requires PHP " . Installer::MINIMUM_PHP_VERSION . "; you are running " . |
33 | 33 | PHP_VERSION . ".\n\n" . |
34 | | - "If you are sure you already have PHP 5.1.x or higher installed, it may be\n" . |
| 34 | + "If you are sure you already have PHP " . Installer::MINIMUM_PHP_VERSION . " or higher installed, it may be\n" . |
35 | 35 | "installed in a different path from PHP " . PHP_VERSION . ". Check with your system\n" . |
36 | 36 | "administrator.\n" ); |
37 | 37 | } |