mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
* disable nginx output buffering (fixes installation AJAX Request)
This commit is contained in:
parent
f124c4844f
commit
71b4963ed8
@ -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';
|
||||
|
@ -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']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user