mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
patch for music_on_hold.php for package base installs
This commit is contained in:
@@ -45,7 +45,12 @@ else {
|
||||
require_once "resources/paging.php";
|
||||
|
||||
$sampling_rate_dirs = Array(8000, 16000, 32000, 48000);
|
||||
$music_on_hold_dir = $_SESSION['switch']['sounds']['dir'].'/music';
|
||||
if (file_exists('/var/lib/fusionpbxsounds/music')) {
|
||||
$music_on_hold_dir = $_SESSION['switch']['sounds']['dir'].'/music/fusionpbx';
|
||||
}
|
||||
else {
|
||||
$music_on_hold_dir = $_SESSION['switch']['sounds']['dir'].'/music';
|
||||
}
|
||||
ini_set(max_execution_time,7200);
|
||||
|
||||
$order_by = $_GET["order_by"];
|
||||
|
||||
Reference in New Issue
Block a user