Turn off output buffering in view_video

This commit is contained in:
Isaac Connor 2020-09-04 14:58:43 -04:00
parent 46790bf401
commit ae56a1f363
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ if ( !canView('Events') ) {
return;
}
# in index.php we do ob_end_start but there can be no output before view_video and we often don't have enough ram to buffer the content.
ob_end_clean();
require_once('includes/Event.php');
$errorText = false;