Skip to content

Commit

Permalink
Fix per installazione
Browse files Browse the repository at this point in the history
  • Loading branch information
Pek5892 committed Sep 25, 2024
1 parent 3337c78 commit 8be1186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/init/requirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

$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;
Expand Down

0 comments on commit 8be1186

Please sign in to comment.