-remove show-recorder from status page if saas enabled.
This commit is contained in:
parent
e9634f94a1
commit
14b7fd03bb
|
@ -16,11 +16,14 @@ class SystemstatusController extends Zend_Controller_Action
|
||||||
$services = array(
|
$services = array(
|
||||||
"pypo"=>Application_Model_Systemstatus::GetPypoStatus(),
|
"pypo"=>Application_Model_Systemstatus::GetPypoStatus(),
|
||||||
"liquidsoap"=>Application_Model_Systemstatus::GetLiquidsoapStatus(),
|
"liquidsoap"=>Application_Model_Systemstatus::GetLiquidsoapStatus(),
|
||||||
"show-recorder"=>Application_Model_Systemstatus::GetShowRecorderStatus(),
|
|
||||||
"media-monitor"=>Application_Model_Systemstatus::GetMediaMonitorStatus(),
|
"media-monitor"=>Application_Model_Systemstatus::GetMediaMonitorStatus(),
|
||||||
"rabbitmq-server"=>Application_Model_Systemstatus::GetRabbitMqStatus()
|
"rabbitmq-server"=>Application_Model_Systemstatus::GetRabbitMqStatus()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (!isset($_SERVER["AIRTIME_SRV"])){
|
||||||
|
$services["show-recorder"]=Application_Model_Systemstatus::GetShowRecorderStatus();
|
||||||
|
}
|
||||||
|
|
||||||
$partitions = Application_Model_Systemstatus::GetDiskInfo();
|
$partitions = Application_Model_Systemstatus::GetDiskInfo();
|
||||||
|
|
||||||
$this->view->status = new StdClass;
|
$this->view->status = new StdClass;
|
||||||
|
|
Loading…
Reference in New Issue