From: ArthurHoaro Date: Sat, 10 Aug 2019 10:26:13 +0000 (+0200) Subject: Bump PHP version check in index.php X-Git-Tag: v0.12.0-beta~45^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=b405a44f295e51735901fdc6cdf81f60f514f1b1;p=github%2Fshaarli%2FShaarli.git Bump PHP version check in index.php Fixes #1249 --- diff --git a/index.php b/index.php index 48d6927e..9783539a 100644 --- a/index.php +++ b/index.php @@ -10,8 +10,6 @@ * - https://github.com/sebsauvage/Shaarli * * Licence: http://www.opensource.org/licenses/zlib-license.php - * - * Requires: PHP 5.5.x */ // Set 'UTC' as the default timezone if it is not defined in php.ini @@ -86,7 +84,7 @@ use \Shaarli\Updater\Updater; // Ensure the PHP version is supported try { - ApplicationUtils::checkPHPVersion('5.5', PHP_VERSION); + ApplicationUtils::checkPHPVersion('7.1', PHP_VERSION); } catch (Exception $exc) { header('Content-Type: text/plain; charset=utf-8'); echo $exc->getMessage();