Fix the moh_name.

This commit is contained in:
Mark Crane 2012-10-20 19:45:31 +00:00
parent 4c8aa7f2d9
commit 6e0c46ea6c
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ if (($_POST['submit'] == "Upload") && is_uploaded_file($_FILES['upload_file']['t
$moh_name = "default/$moh_rate";
}
//build the xml
$moh_xml .= " <directory name=\"$name\" path=\"\$\${sounds_dir}/music/$moh_dir\">\n";
$moh_xml .= " <directory name=\"$moh_name\" path=\"\$\${sounds_dir}/music/$moh_dir\">\n";
$moh_xml .= " <param name=\"rate\" value=\"".$moh_rate."\"/>\n";
$moh_xml .= " <param name=\"shuffle\" value=\"true\"/>\n";
$moh_xml .= " <param name=\"channels\" value=\"1\"/>\n";