mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
- adding check before flush buffer (#245)
This commit is contained in:
@@ -11,8 +11,10 @@ $error = false;
|
||||
require BASE . 'install/includes/config.php';
|
||||
|
||||
ini_set('max_execution_time', 300);
|
||||
ob_implicit_flush();
|
||||
ob_end_flush();
|
||||
if(ob_get_length() > 0) {
|
||||
ob_implicit_flush();
|
||||
ob_end_flush();
|
||||
}
|
||||
header('X-Accel-Buffering: no');
|
||||
|
||||
if(!$error) {
|
||||
|
Reference in New Issue
Block a user