Update video.php

pull/2053/head
habibapp1365 2018-03-06 19:48:01 +03:30 committed by GitHub
parent 50a63c7899
commit afff20a06b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -101,9 +101,6 @@ if ( isset($_REQUEST['downloadIndex']) )
header( "Content-Transfer-Encoding: binary" );
header( "Content-Type: application/force-download" );
header( "Content-Length: ".filesize($videoFiles[$downloadIndex]) );
while ( ob_get_level() > 0 ) {
ob_end_clean();
}
readfile( $videoFiles[$downloadIndex] );
exit;
}