From e1268cd5f4524188bdda73183b0120511887ab11 Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Mon, 30 Apr 2012 13:28:31 +0200 Subject: [PATCH] we require php 5.3 now. so please notify the user if an old version is in use --- lib/util.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/util.php b/lib/util.php index b30b9dfd481..2c05eb02599 100644 --- a/lib/util.php +++ b/lib/util.php @@ -243,6 +243,9 @@ class OC_Util { if(!function_exists('imagepng')){ $errors[]=array('error'=>'PHP module GD is not installed.
','hint'=>'Please ask your server administrator to install the module.'); } + if(floatval(phpversion())<5.3){ + $errors[]=array('error'=>'PHP 5.3 is required.
','hint'=>'Please ask your server administrator to update PHP to version 5.3 or higher. PHP 5.2 is no longer supported by ownCloud and the PHP community.'); + } return $errors; } -- 2.39.5