summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2009-10-26 12:53:05 +0100
committerAndreas Gohr <gohr@cosmocode.de>2009-10-26 12:53:05 +0100
commitab91da8996afc97ce129f9e13728f4e4570c60d6 (patch)
tree8235e7cc287c9d587c1fb6a8a783d61862603f23
parent83a482b68691087fcfd636e6b093fd41f52b759a (diff)
downloadrpg-ab91da8996afc97ce129f9e13728f4e4570c60d6.tar.gz
rpg-ab91da8996afc97ce129f9e13728f4e4570c60d6.tar.bz2
set required PHP release to 5.1.2
Ignore-this: 5dd4f31786cfa624b5e54b4c19060003 darcs-hash:20091026115305-6e07b-b48459f3dcaa70898f799cd0e843997265af8fb9.gz
-rw-r--r--inc/infoutils.php4
-rw-r--r--install.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/inc/infoutils.php b/inc/infoutils.php
index a334e0942..43df78a8c 100644
--- a/inc/infoutils.php
+++ b/inc/infoutils.php
@@ -81,8 +81,8 @@ function check(){
msg('DokuWiki version: '.getVersion(),1);
- if(version_compare(phpversion(),'5.0.0','<')){
- msg('Your PHP version is too old ('.phpversion().' vs. 5.0.0+ recommended)',-1);
+ if(version_compare(phpversion(),'5.1.2','<')){
+ msg('Your PHP version is too old ('.phpversion().' vs. 5.1.2+ needed)',-1);
}else{
msg('PHP version '.phpversion(),1);
}
diff --git a/install.php b/install.php
index e11ba1d4a..ddbc46130 100644
--- a/install.php
+++ b/install.php
@@ -423,8 +423,8 @@ function check_functions(){
global $lang;
$ok = true;
- if(version_compare(phpversion(),'5.0.0','<')){
- $error[] = sprintf($lang['i_phpver'],phpversion(),'5.0.0');
+ if(version_compare(phpversion(),'5.1.2','<')){
+ $error[] = sprintf($lang['i_phpver'],phpversion(),'5.1.2');
$ok = false;
}