* disable nginx output buffering (fixes installation AJAX Request)

This commit is contained in:
slawkens 2019-04-23 23:17:58 +02:00
parent f124c4844f
commit 71b4963ed8
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ require BASE . 'install/includes/config.php';
ini_set('max_execution_time', 300);
ob_implicit_flush();
ob_end_flush();
header('X-Accel-Buffering: no');
if(!$error) {
require BASE . 'install/includes/database.php';

View File

@ -8,6 +8,7 @@ require BASE . 'install/includes/locale.php';
ini_set('max_execution_time', 300);
ob_implicit_flush();
ob_end_flush();
header('X-Accel-Buffering: no');
if(isset($config['installed']) && $config['installed'] && !isset($_SESSION['saved'])) {
warning($locale['already_installed']);