From afff20a06bd1ab99c537ce9512431192d98bc3b2 Mon Sep 17 00:00:00 2001 From: habibapp1365 Date: Tue, 6 Mar 2018 19:48:01 +0330 Subject: [PATCH] Update video.php --- web/skins/classic/views/video.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/skins/classic/views/video.php b/web/skins/classic/views/video.php index 6a20ed319..cfbb6f929 100644 --- a/web/skins/classic/views/video.php +++ b/web/skins/classic/views/video.php @@ -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; }