Fix the Call detail records download and play ob_clean(); seems to have done the trick.

This commit is contained in:
Mark Crane 2013-05-02 03:19:38 +00:00
parent f422662176
commit f420efe32d
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ require_once "includes/paging.php";
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Content-Length: " . filesize($_SESSION['switch']['recordings']['dir'].'/'.base64_decode($_GET['filename'])));
ob_clean();
fpassthru($fd);
}
}