Skip to content
Snippets Groups Projects
Commit 724b7e4f authored by Till Brehm's avatar Till Brehm
Browse files

Fixed #5348 Virtual server config panel showing without active VServer

parent 7fa4d92f
No related branches found
No related tags found
1 merge request!936add CentOS 8 detection
......@@ -40,6 +40,11 @@ class dashlet_modules {
$web_servers = $app->db->queryOneRecord("SELECT COUNT(*) as cnt FROM server WHERE web_server = 1 AND active = 1");
if($web_servers['cnt'] == 0) continue;
}
if($mt == 'vm'){
$vserver_servers = $app->db->queryOneRecord("SELECT COUNT(*) as cnt FROM server WHERE vserver_server = 1 AND active = 1");
if($vserver_servers['cnt'] == 0) continue;
}
$module_title = $app->lng($module['title']);
if(function_exists('mb_strlen')) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment