diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-29 13:24:09 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-29 13:24:09 +0000 |
commit | af0228bd8262165deac1fab1d49cec077e1bcfda (patch) | |
tree | 8483ee35b370153bce3d39a92b1ec9192f5e5793 /engine/lib/install.php | |
parent | 59df3e76742df11d8e0d94d42f2e87bddc50655c (diff) | |
download | elgg-af0228bd8262165deac1fab1d49cec077e1bcfda.tar.gz elgg-af0228bd8262165deac1fab1d49cec077e1bcfda.tar.bz2 |
Tentatively downgraded version requirement.
git-svn-id: https://code.elgg.org/elgg/trunk@2626 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/install.php')
-rw-r--r-- | engine/lib/install.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engine/lib/install.php b/engine/lib/install.php index 41561ae96..e9ae5279b 100644 --- a/engine/lib/install.php +++ b/engine/lib/install.php @@ -18,14 +18,16 @@ * @return bool */ function php_check_version() - { + {
+ /* if ( // TODO: Remove this when Redhat pulls its finger out (version_compare(phpversion(), '5.1.6', '>=')) && (version_compare(phpversion(), '5.2.0', '<')) ) - register_error(elgg_echo('configurationwarning:phpversion')); + register_error(elgg_echo('configurationwarning:phpversion'));
+ */ - if (version_compare(phpversion(), '5.1.6', '>=')) + if (version_compare(phpversion(), '5.1.2', '>=')) return true; return false; |