From: VirtualTam Date: Sun, 15 Jan 2017 18:27:57 +0000 (+0100) Subject: Bump expected minimal PHP version to 5.5 X-Git-Tag: v0.9.0~66 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=3947bbb0438beae6ef746c4c946fafe40faa27a8;hp=9977c418d6d0de9e22e4ec276e7d476e184b5d01;p=github%2Fshaarli%2FShaarli.git Bump expected minimal PHP version to 5.5 Relates to https://github.com/shaarli/Shaarli/issues/599 Relates to db6b09b69ee265a7d775924fcff9c61aaaabf1cb Signed-off-by: VirtualTam --- diff --git a/index.php b/index.php index beb1cbca..32f5ca3c 100644 --- a/index.php +++ b/index.php @@ -13,7 +13,7 @@ * * Licence: http://www.opensource.org/licenses/zlib-license.php * - * Requires: PHP 5.3.x + * Requires: PHP 5.5.x */ // Set 'UTC' as the default timezone if it is not defined in php.ini @@ -83,7 +83,7 @@ use \Shaarli\ThemeUtils; // Ensure the PHP version is supported try { - ApplicationUtils::checkPHPVersion('5.3', PHP_VERSION); + ApplicationUtils::checkPHPVersion('5.5', PHP_VERSION); } catch(Exception $exc) { header('Content-Type: text/plain; charset=utf-8'); echo $exc->getMessage();