mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
- adding check before flush buffer (#245)
This commit is contained in:
parent
b4448f7279
commit
02adb87fac
@ -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) {
|
||||
|
@ -8,8 +8,10 @@ require BASE . 'install/includes/functions.php';
|
||||
require BASE . 'install/includes/locale.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(isset($config['installed']) && $config['installed'] && !isset($_SESSION['saved'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user