diff options
Diffstat (limited to 'app/check_setup.php')
-rw-r--r-- | app/check_setup.php | 15 |
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 |