CC-2745: Show status of liquidsoap/icecast connection on Stream Settings page
- fixed a case where it was displaying "OK" when liquidsoap was not running
This commit is contained in:
parent
fb8735588d
commit
f2bf92297a
3 changed files with 4 additions and 3 deletions
|
@ -292,7 +292,7 @@ class PreferenceController extends Zend_Controller_Action
|
|||
$num_of_stream = intval(Application_Model_Preference::GetNumOfStreams());
|
||||
for($i=1; $i<=$num_of_stream; $i++){
|
||||
$status = Application_Model_StreamSetting::getLiquidsoapError($i);
|
||||
$status = $status == ''?"OK":$status;
|
||||
$status = $status == NULL?"Problem with Liquidsoap...":$status;
|
||||
if(!Application_Model_StreamSetting::getStreamEnabled($i)){
|
||||
$status = "N/A";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue