summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@oc.(none)>2012-04-30 13:28:31 +0200
committerFrank Karlitschek <frank@oc.(none)>2012-04-30 13:28:31 +0200
commite1268cd5f4524188bdda73183b0120511887ab11 (patch)
tree7fe49f42fd5ae75e1098c62cc66f7fb9b00501af /lib
parent051cb7d96b238212535de9fd452c9cbbac4b84e8 (diff)
downloadnextcloud-server-e1268cd5f4524188bdda73183b0120511887ab11.tar.gz
nextcloud-server-e1268cd5f4524188bdda73183b0120511887ab11.zip
we require php 5.3 now. so please notify the user if an old version is in use
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php3
1 files changed, 3 insertions, 0 deletions
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.<br/>','hint'=>'Please ask your server administrator to install the module.');
}
+ if(floatval(phpversion())<5.3){
+ $errors[]=array('error'=>'PHP 5.3 is required.<br/>','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;
}