diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-06-02 21:48:31 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-06-02 21:48:56 +0200 |
commit | 21c9604e66bcb42ab5267e9873738a6e22250103 (patch) | |
tree | f1a51d246db95454e9b7be071ced6cffcd7459f5 | |
parent | 007becf8ef443a6da5c94e5d53cf4e92cb4b44cc (diff) | |
download | rpg-21c9604e66bcb42ab5267e9873738a6e22250103.tar.gz rpg-21c9604e66bcb42ab5267e9873738a6e22250103.tar.bz2 |
we now require PHP 5.2.0 at least
-rw-r--r-- | inc/infoutils.php | 4 | ||||
-rw-r--r-- | install.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/inc/infoutils.php b/inc/infoutils.php index 9fe5ee689..71e642995 100644 --- a/inc/infoutils.php +++ b/inc/infoutils.php @@ -107,8 +107,8 @@ function check(){ msg('DokuWiki version: '.getVersion(),1); } - if(version_compare(phpversion(),'5.1.2','<')){ - msg('Your PHP version is too old ('.phpversion().' vs. 5.1.2+ needed)',-1); + if(version_compare(phpversion(),'5.2.0','<')){ + msg('Your PHP version is too old ('.phpversion().' vs. 5.2.0+ needed)',-1); }else{ msg('PHP version '.phpversion(),1); } diff --git a/install.php b/install.php index 24f06608d..ab0fad121 100644 --- a/install.php +++ b/install.php @@ -518,8 +518,8 @@ function check_functions(){ global $lang; $ok = true; - if(version_compare(phpversion(),'5.1.2','<')){ - $error[] = sprintf($lang['i_phpver'],phpversion(),'5.1.2'); + if(version_compare(phpversion(),'5.2.0','<')){ + $error[] = sprintf($lang['i_phpver'],phpversion(),'5.2.0'); $ok = false; } |