ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
HeaderBasedDeliveryHelper.php
Go to the documentation of this file.
1 <?php
2 
4 
22 {
23 
29  protected function sendFileUnbufferedUsingHeaders(\Closure $closure)
30  {
31  ignore_user_abort(true);
32  set_time_limit(0);
33  ob_start();
34 
35  $closure();
36 
37  ob_flush();
38  ob_end_flush();
39  flush();
40  }
41 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...