From 06dc4dc1232f155376db70fe527ff6992477ab88 Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 1 May 2008 21:44:28 +0000 Subject: [PATCH] MDL-14645 PHP 5.2.0 now required on frontpage --- admin/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/index.php b/admin/index.php index 7cf0531d3f8..edc96388f1f 100644 --- a/admin/index.php +++ b/admin/index.php @@ -8,9 +8,9 @@ /// Check that PHP is of a sufficient version /// Moved here because older versions do not allow while(@ob_end_clean()); - if (version_compare(phpversion(), "4.3.0") < 0) { + if (version_compare(phpversion(), "5.5.0") < 0) { $phpversion = phpversion(); - echo "Sorry, Moodle requires PHP 4.3.0 or later (currently using version $phpversion)"; + echo "Sorry, Moodle requires PHP 5.2.0 or later (currently using version $phpversion)"; die; }