parent
5f1617a480
commit
b405a44f29
1 changed files with 1 additions and 3 deletions
|
@ -10,8 +10,6 @@
|
||||||
* - https://github.com/sebsauvage/Shaarli
|
* - https://github.com/sebsauvage/Shaarli
|
||||||
*
|
*
|
||||||
* Licence: http://www.opensource.org/licenses/zlib-license.php
|
* 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
|
// Set 'UTC' as the default timezone if it is not defined in php.ini
|
||||||
|
@ -86,7 +84,7 @@
|
||||||
|
|
||||||
// Ensure the PHP version is supported
|
// Ensure the PHP version is supported
|
||||||
try {
|
try {
|
||||||
ApplicationUtils::checkPHPVersion('5.5', PHP_VERSION);
|
ApplicationUtils::checkPHPVersion('7.1', 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