Added wux modules to monitor view
This commit is contained in:
parent
2d87172558
commit
a446997534
|
@ -365,6 +365,9 @@ else {
|
|||
$prediction_available = db_get_sql ("SELECT count(*)
|
||||
FROM tserver
|
||||
WHERE server_type = 5"); //POSTGRESQL AND ORACLE COMPATIBLE
|
||||
$wux_available = db_get_sql ("SELECT count(*)
|
||||
FROM tserver
|
||||
WHERE server_type = 17"); //POSTGRESQL AND ORACLE COMPATIBLE
|
||||
|
||||
// Development mode to use all servers
|
||||
if ($develop_bypass) {
|
||||
|
@ -386,6 +389,9 @@ else {
|
|||
$typemodules[5] = __('Prediction server module');
|
||||
if (enterprise_installed()) {
|
||||
$typemodules[7] = __('Web server module');
|
||||
if ($wux_available) {
|
||||
$typemodules[8] = __('Wux server module');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -443,6 +449,11 @@ else {
|
|||
FROM ttipo_modulo
|
||||
WHERE categoria = 0');
|
||||
break;
|
||||
case 8:
|
||||
$sql = sprintf ('SELECT id_tipo, descripcion
|
||||
FROM ttipo_modulo
|
||||
WHERE nombre = \'web_analysis\'');
|
||||
break;
|
||||
case '':
|
||||
$sql = sprintf ('SELECT id_tipo, descripcion
|
||||
FROM ttipo_modulo');
|
||||
|
|
Loading…
Reference in New Issue