diff options
author | VirtualTam <virtualtam@flibidi.net> | 2017-01-15 19:27:57 +0100 |
---|---|---|
committer | VirtualTam <virtualtam+github@flibidi.net> | 2017-01-16 11:35:46 +0100 |
commit | 3947bbb0438beae6ef746c4c946fafe40faa27a8 (patch) | |
tree | 13d8e9b7a792e9327ea2d52b18ce3c7cf8d060dd | |
parent | 9977c418d6d0de9e22e4ec276e7d476e184b5d01 (diff) | |
download | Shaarli-3947bbb0438beae6ef746c4c946fafe40faa27a8.tar.gz Shaarli-3947bbb0438beae6ef746c4c946fafe40faa27a8.tar.zst Shaarli-3947bbb0438beae6ef746c4c946fafe40faa27a8.zip |
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>
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ | |||
13 | * | 13 | * |
14 | * Licence: http://www.opensource.org/licenses/zlib-license.php | 14 | * Licence: http://www.opensource.org/licenses/zlib-license.php |
15 | * | 15 | * |
16 | * Requires: PHP 5.3.x | 16 | * Requires: PHP 5.5.x |
17 | */ | 17 | */ |
18 | 18 | ||
19 | // Set 'UTC' as the default timezone if it is not defined in php.ini | 19 | // Set 'UTC' as the default timezone if it is not defined in php.ini |
@@ -83,7 +83,7 @@ use \Shaarli\ThemeUtils; | |||
83 | 83 | ||
84 | // Ensure the PHP version is supported | 84 | // Ensure the PHP version is supported |
85 | try { | 85 | try { |
86 | ApplicationUtils::checkPHPVersion('5.3', PHP_VERSION); | 86 | ApplicationUtils::checkPHPVersion('5.5', PHP_VERSION); |
87 | } catch(Exception $exc) { | 87 | } catch(Exception $exc) { |
88 | header('Content-Type: text/plain; charset=utf-8'); | 88 | header('Content-Type: text/plain; charset=utf-8'); |
89 | echo $exc->getMessage(); | 89 | echo $exc->getMessage(); |