From d42b4c299c7400d728a7a6eeeabe6f0f4ac3f169 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 5 Feb 2021 22:21:31 +0100 Subject: Add requirements check in CLI (#3410) * Add requirements check in CLI #fix https://github.com/FreshRSS/FreshRSS/issues/1853 * More checks #fix https://github.com/FreshRSS/FreshRSS/issues/1853 --- lib/lib_install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/lib_install.php b/lib/lib_install.php index 19b3274e3..f8b2ba969 100644 --- a/lib/lib_install.php +++ b/lib/lib_install.php @@ -68,7 +68,7 @@ function checkRequirements($dbType = '') { 'users' => $users ? 'ok' : 'ko', 'favicons' => $favicons ? 'ok' : 'ko', 'http_referer' => $http_referer ? 'ok' : 'ko', - 'message' => $message ?: 'ok', + 'message' => $message ?: '', 'all' => $php && $curl && $pdo && $pcre && $ctype && $dom && $xml && $data && $cache && $tmp && $users && $favicons && $http_referer && $message == '' ? 'ok' : 'ko' ); -- cgit v1.2.3