summaryrefslogtreecommitdiff
path: root/requirements
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2012-03-19 11:19:44 +0000
committerctrlaltca@gmail.com <>2012-03-19 11:19:44 +0000
commit942bee46430fe06e17200a9f5a649768081d6eae (patch)
treeef90db9f203ead2695a8fda3c31c12a88e303e67 /requirements
parentf99ef429874fc6ba4bc644ac8d2cf2a378f6f6f4 (diff)
Droppped php 5.2 support, require 5.3.3 (rc1 was breaking php 5.2 support because of a broken change in TJavaScript::jsonEncode(), but nobody noticed in a month; previous php 5.3 version are broken)
Droppped TJSON, not needed anymore Name this 3.2-rc2 (to distinguish problems from users caused by this change)
Diffstat (limited to 'requirements')
-rw-r--r--requirements/index.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/requirements/index.php b/requirements/index.php
index 2f222038..8e2bee08 100644
--- a/requirements/index.php
+++ b/requirements/index.php
@@ -32,8 +32,8 @@
$requirements = array(
array(
true,
- version_compare(PHP_VERSION,"5.2.0",">="),
- 'PHP version check','PHP 5.2.0 or higher required'),
+ version_compare(PHP_VERSION,"5.3.3",">="),
+ 'PHP version check','PHP 5.3.3 or higher required'),
array(
true,
isset($_SERVER["HTTP_ACCEPT"]),
@@ -80,6 +80,11 @@ $requirements = array(
'PCRE extension check',
'PCRE extension required'),
array(
+ true,
+ extension_loaded("json"),
+ 'JSON extension check',
+ 'JSON extension required'),
+ array(
false,
class_exists("PDO",false),
'PDO extension check',