summaryrefslogtreecommitdiff
path: root/inc/infoutils.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/infoutils.php')
-rw-r--r--inc/infoutils.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/inc/infoutils.php b/inc/infoutils.php
index ac59d9488..c2db31f7d 100644
--- a/inc/infoutils.php
+++ b/inc/infoutils.php
@@ -81,10 +81,8 @@ function check(){
msg('DokuWiki version: '.getVersion(),1);
- if(version_compare(phpversion(),'4.3.3','<')){
- msg('Your PHP version is too old ('.phpversion().' vs. 4.3.3+ recommended)',-1);
- }elseif(version_compare(phpversion(),'4.3.10','<')){
- msg('Consider upgrading PHP to 4.3.10 or higher for security reasons (your version: '.phpversion().')',0);
+ if(version_compare(phpversion(),'5.0.0','<')){
+ msg('Your PHP version is too old ('.phpversion().' vs. 5.0.0+ recommended)',-1);
}else{
msg('PHP version '.phpversion(),1);
}