]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Bump PHP version check in index.php 1351/head
authorArthurHoaro <arthur@hoa.ro>
Sat, 10 Aug 2019 10:26:13 +0000 (12:26 +0200)
committerArthurHoaro <arthur@hoa.ro>
Sat, 10 Aug 2019 10:47:58 +0000 (12:47 +0200)
Fixes #1249

index.php

index 48d6927e6d63aad3e940c57f14317f94ef300039..9783539a21b3eca3fbd4c5a72c43d12e33a699b4 100644 (file)
--- 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();