Bump expected minimal PHP version to 5.5

Relates to https://github.com/shaarli/Shaarli/issues/599
Relates to db6b09b69ee265a7d775924fcff9c61aaaabf1cb

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
This commit is contained in:
VirtualTam 2017-01-15 19:27:57 +01:00 committed by VirtualTam
parent 9977c418d6
commit 3947bbb043
1 changed files with 2 additions and 2 deletions

View File

@ -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();