mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-23 23:07:46 +01:00
Fix per installazione
This commit is contained in:
parent
3337c78b4e
commit
8be11862d9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user