From dff4a98ef5befceaba85b041ad3262531e90822b Mon Sep 17 00:00:00 2001 From: slawkens Date: Sun, 4 Feb 2024 08:13:57 +0100 Subject: [PATCH] Fix reload server data --- admin/tools/reload_data.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/tools/reload_data.php b/admin/tools/reload_data.php index cb0a1cec..dc801c63 100644 --- a/admin/tools/reload_data.php +++ b/admin/tools/reload_data.php @@ -25,7 +25,7 @@ use MyAAC\DataLoader; -define('MYAAC_ADMIN', true); +const MYAAC_ADMIN = true; require '../../common.php'; require SYSTEM . 'functions.php'; @@ -37,7 +37,7 @@ if (!admin()) ini_set('max_execution_time', 300); ob_implicit_flush(); -ob_end_flush(); +@ob_end_flush(); header('X-Accel-Buffering: no'); require LOCALE . 'en/main.php';