MDL-18112 Added a comment that we intentionally check against 5.2.0 in early install steps

This commit is contained in:
David Mudrak
2010-05-10 14:44:02 +00:00
parent a18d577dcd
commit 90150c08ee
+2
View File
@@ -51,6 +51,8 @@ define('AJAX_SCRIPT', false); // prevents some warnings later
@ini_set('display_errors', '1');
// Check that PHP is of a sufficient version
// PHP 5.2.0 is intentionally checked here even though a higher version is required by the environment
// check. This is not a typo - see MDL-18112
if (version_compare(phpversion(), "5.2.0") < 0) {
$phpversion = phpversion();
// do NOT localise - lang strings would not work here and we CAN not move it after installib