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:
parent
9977c418d6
commit
3947bbb043
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* Licence: http://www.opensource.org/licenses/zlib-license.php
|
* 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
|
// Set 'UTC' as the default timezone if it is not defined in php.ini
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
|
|
||||||
// Ensure the PHP version is supported
|
// Ensure the PHP version is supported
|
||||||
try {
|
try {
|
||||||
ApplicationUtils::checkPHPVersion('5.3', PHP_VERSION);
|
ApplicationUtils::checkPHPVersion('5.5', PHP_VERSION);
|
||||||
} catch(Exception $exc) {
|
} catch(Exception $exc) {
|
||||||
header('Content-Type: text/plain; charset=utf-8');
|
header('Content-Type: text/plain; charset=utf-8');
|
||||||
echo $exc->getMessage();
|
echo $exc->getMessage();
|
||||||
|
|
Loading…
Reference in a new issue