aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_install.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2020-12-28 18:12:17 -0500
committerGravatar GitHub <noreply@github.com> 2020-12-29 00:12:17 +0100
commit618cbaf0cee04092c5eb33ff818decac2c8e80b7 (patch)
tree357e6d59f35e07be523abcec328ac587c7ed7dd1 /lib/lib_install.php
parent3f4c86f80f7cf7fd0ba9260d46eafc55d46fe9af (diff)
Remove Minz validation during install. (#3302)
As FRSS always comes with Minz, there is no need to validate that it is there during install. If it turns out we need to validate that, we might need to validate other libraries as well.
Diffstat (limited to 'lib/lib_install.php')
-rw-r--r--lib/lib_install.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/lib_install.php b/lib/lib_install.php
index f171deb4a..14a614c2e 100644
--- a/lib/lib_install.php
+++ b/lib/lib_install.php
@@ -7,7 +7,6 @@ Minz_Configuration::register('default_user', join_path(FRESHRSS_PATH, 'config-us
function checkRequirements($dbType = '') {
$php = version_compare(PHP_VERSION, '5.6.0') >= 0;
- $minz = file_exists(join_path(LIB_PATH, 'Minz'));
$curl = extension_loaded('curl');
$pdo_mysql = extension_loaded('pdo_mysql');
$pdo_sqlite = extension_loaded('pdo_sqlite');
@@ -50,7 +49,6 @@ function checkRequirements($dbType = '') {
return array(
'php' => $php ? 'ok' : 'ko',
- 'minz' => $minz ? 'ok' : 'ko',
'curl' => $curl ? 'ok' : 'ko',
'pdo-mysql' => $pdo_mysql ? 'ok' : 'ko',
'pdo-sqlite' => $pdo_sqlite ? 'ok' : 'ko',
@@ -69,7 +67,7 @@ function checkRequirements($dbType = '') {
'favicons' => $favicons ? 'ok' : 'ko',
'http_referer' => $http_referer ? 'ok' : 'ko',
'message' => $message ?: 'ok',
- 'all' => $php && $minz && $curl && $pdo && $pcre && $ctype && $dom && $xml &&
+ 'all' => $php && $curl && $pdo && $pcre && $ctype && $dom && $xml &&
$data && $cache && $users && $favicons && $http_referer && $message == '' ? 'ok' : 'ko'
);
}