From 9eb8481d1fd4be142283d1c8ee0f06c3e1756353 Mon Sep 17 00:00:00 2001 From: Wruczek Date: Mon, 29 Jul 2019 15:19:48 +0200 Subject: [PATCH] Add a deprecation warning about PHP 5.6 --- src/installer/pages/2.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/installer/pages/2.php b/src/installer/pages/2.php index 218d337..dbaba61 100644 --- a/src/installer/pages/2.php +++ b/src/installer/pages/2.php @@ -50,6 +50,15 @@ if(!empty($_POST["allow-metrics-checkbox"])) { + + +
+
+ You are using PHP 5.6 which will not be supported in the future. Please upgrade. +
+
+ +
Success! Looks like you can run TS-website 2.0! @@ -84,8 +93,9 @@ function checkRequirements() { // PHP version - 5.6.0 minimum, < 7 warning, > 7 ok { $result = PHP_VERSION_ID < 50600 ? 2 : (PHP_VERSION_ID < 70000 ? 1 : 0); + showCheckResult( - "PHP 5.6.0+ (7.0+ recommended)", + "PHP 5.6.0+ (7.0+ required soon)", $result, "Current PHP version: " . phpversion() );