summaryrefslogtreecommitdiff
path: root/app/check_setup.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2017-12-15 11:24:35 -0800
committerFrédéric Guillot <fred@kanboard.net>2017-12-15 11:55:42 -0800
commita93b8e10f5954be0853eec693c13e84c4bd9e6f2 (patch)
treeeda5de9494b819235616e8623bb3393e9cc373af /app/check_setup.php
parent2c72a283f2d51034f85f4e2ca8b194d304a3c433 (diff)
Kanboard requires at least PHP 5.6 now
Diffstat (limited to 'app/check_setup.php')
-rw-r--r--app/check_setup.php15
1 files changed, 3 insertions, 12 deletions
diff --git a/app/check_setup.php b/app/check_setup.php
index 16d65bc8..dd3aeb04 100644
--- a/app/check_setup.php
+++ b/app/check_setup.php
@@ -1,17 +1,8 @@
<?php
-// PHP 5.3.3 minimum
-if (version_compare(PHP_VERSION, '5.3.3', '<')) {
- throw new Exception('This software require PHP 5.3.3 minimum');
-}
-
-// Checks for PHP < 5.4
-if (version_compare(PHP_VERSION, '5.4.0', '<')) {
-
- // Short tags must be enabled for PHP < 5.4
- if (! ini_get('short_open_tag')) {
- throw new Exception('This software require to have short tags enabled if you have PHP < 5.4 ("short_open_tag = On")');
- }
+// PHP 5.6.0 minimum
+if (version_compare(PHP_VERSION, '5.6.0', '<')) {
+ throw new Exception('This software requires PHP 5.6.0 minimum');
}
// Check data folder if sqlite