BugFix-default moh for source mode (#1657)
populate the default moh for switch source installs set comment indents as preferred
This commit is contained in:
parent
91562a9e41
commit
54b0b3fb9a
|
|
@ -125,6 +125,10 @@ include "root.php";
|
|||
}
|
||||
$moh_list[$moh_value] = str_replace('_', ' ', $moh_name);
|
||||
}
|
||||
//detect source installed moh
|
||||
if(is_dir($music_on_hold_dir."/8000")) {
|
||||
$moh_list["local_stream://default"] = $text['opt-default'];
|
||||
}
|
||||
return $moh_list;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue