diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-08-10 12:26:13 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2019-08-10 12:47:58 +0200 |
commit | b405a44f295e51735901fdc6cdf81f60f514f1b1 (patch) | |
tree | b0f52a8bebf29c7ce2d42d15b22560dc4710f037 | |
parent | 5f1617a480c1df17e72cb50817517eb64837be38 (diff) | |
download | Shaarli-b405a44f295e51735901fdc6cdf81f60f514f1b1.tar.gz Shaarli-b405a44f295e51735901fdc6cdf81f60f514f1b1.tar.zst Shaarli-b405a44f295e51735901fdc6cdf81f60f514f1b1.zip |
Bump PHP version check in index.php
Fixes #1249
-rw-r--r-- | index.php | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -10,8 +10,6 @@ | |||
10 | * - https://github.com/sebsauvage/Shaarli | 10 | * - https://github.com/sebsauvage/Shaarli |
11 | * | 11 | * |
12 | * Licence: http://www.opensource.org/licenses/zlib-license.php | 12 | * Licence: http://www.opensource.org/licenses/zlib-license.php |
13 | * | ||
14 | * Requires: PHP 5.5.x | ||
15 | */ | 13 | */ |
16 | 14 | ||
17 | // Set 'UTC' as the default timezone if it is not defined in php.ini | 15 | // Set 'UTC' as the default timezone if it is not defined in php.ini |
@@ -86,7 +84,7 @@ use \Shaarli\Updater\Updater; | |||
86 | 84 | ||
87 | // Ensure the PHP version is supported | 85 | // Ensure the PHP version is supported |
88 | try { | 86 | try { |
89 | ApplicationUtils::checkPHPVersion('5.5', PHP_VERSION); | 87 | ApplicationUtils::checkPHPVersion('7.1', PHP_VERSION); |
90 | } catch (Exception $exc) { | 88 | } catch (Exception $exc) { |
91 | header('Content-Type: text/plain; charset=utf-8'); | 89 | header('Content-Type: text/plain; charset=utf-8'); |
92 | echo $exc->getMessage(); | 90 | echo $exc->getMessage(); |