mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 17:59:22 +02:00
- adding check before flush buffer (#245)
This commit is contained in:
parent
e26e6f3a1c
commit
a88103a956
@ -11,8 +11,10 @@ $error = false;
|
|||||||
require BASE . 'install/includes/config.php';
|
require BASE . 'install/includes/config.php';
|
||||||
|
|
||||||
ini_set('max_execution_time', 300);
|
ini_set('max_execution_time', 300);
|
||||||
ob_implicit_flush();
|
if(ob_get_length() > 0) {
|
||||||
ob_end_flush();
|
ob_implicit_flush();
|
||||||
|
ob_end_flush();
|
||||||
|
}
|
||||||
header('X-Accel-Buffering: no');
|
header('X-Accel-Buffering: no');
|
||||||
|
|
||||||
if(!$error) {
|
if(!$error) {
|
||||||
|
@ -8,8 +8,10 @@ require BASE . 'install/includes/functions.php';
|
|||||||
require BASE . 'install/includes/locale.php';
|
require BASE . 'install/includes/locale.php';
|
||||||
|
|
||||||
ini_set('max_execution_time', 300);
|
ini_set('max_execution_time', 300);
|
||||||
ob_implicit_flush();
|
if(ob_get_length() > 0) {
|
||||||
ob_end_flush();
|
ob_implicit_flush();
|
||||||
|
ob_end_flush();
|
||||||
|
}
|
||||||
header('X-Accel-Buffering: no');
|
header('X-Accel-Buffering: no');
|
||||||
|
|
||||||
if(isset($config['installed']) && $config['installed'] && !isset($_SESSION['saved'])) {
|
if(isset($config['installed']) && $config['installed'] && !isset($_SESSION['saved'])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user