Update xml_cdr.php
This commit is contained in:
@@ -1034,6 +1034,9 @@ if (!class_exists('xml_cdr')) {
|
|||||||
if ($file_ext == "mp3") {
|
if ($file_ext == "mp3") {
|
||||||
header("Content-Type: audio/mpeg");
|
header("Content-Type: audio/mpeg");
|
||||||
}
|
}
|
||||||
|
if ($file_ext == "ogg") {
|
||||||
|
header("Content-Type: audio/ogg");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
header('Content-Disposition: attachment; filename="'.$record_name.'"');
|
header('Content-Disposition: attachment; filename="'.$record_name.'"');
|
||||||
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
|
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
|
||||||
|
|||||||
Reference in New Issue
Block a user