From 8be11862d9c79a879852613617b5b51dd1745a0c Mon Sep 17 00:00:00 2001 From: valentina Date: Wed, 25 Sep 2024 15:40:17 +0200 Subject: [PATCH] Fix per installazione --- include/init/requirements.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/init/requirements.php b/include/init/requirements.php index e045a60fb..bbbf36994 100755 --- a/include/init/requirements.php +++ b/include/init/requirements.php @@ -54,7 +54,7 @@ foreach ($modules as $name => $values) { $status = isset($available_modules) ? in_array($name, $available_modules) : $_SERVER[$values['server']] == 'On'; - if ($name == 'mod_mime' && $php_interface != 'apache') { + if ($name == 'mod_mime' && $php_interface != 'apache' && $dbo->isConnected() ) { $headers = get_headers((!empty($config['redirectHTTPS']) && !isHTTPS(true)) ? 'https://' : 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'], true); if (isset($headers['Content-Type'])) { $status = 1;