diff options
author | nodiscc <nodiscc@gmail.com> | 2019-08-10 11:30:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-10 11:30:16 +0000 |
commit | 0a4bc5a17dd8bc198d45aca13f9e40de4664159d (patch) | |
tree | b0f52a8bebf29c7ce2d42d15b22560dc4710f037 /index.php | |
parent | 5f1617a480c1df17e72cb50817517eb64837be38 (diff) | |
parent | b405a44f295e51735901fdc6cdf81f60f514f1b1 (diff) | |
download | Shaarli-0a4bc5a17dd8bc198d45aca13f9e40de4664159d.tar.gz Shaarli-0a4bc5a17dd8bc198d45aca13f9e40de4664159d.tar.zst Shaarli-0a4bc5a17dd8bc198d45aca13f9e40de4664159d.zip |
Merge pull request #1351 from ArthurHoaro/hotfix/index-php-version
Bump PHP version check in index.php
Diffstat (limited to 'index.php')
-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(); |