Update video.php
parent
50a63c7899
commit
afff20a06b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue