From 1e756464efca27f5739450c6aae376358faaf521 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 12 Oct 2022 17:08:52 +0200 Subject: [PATCH] Move header() even further up just in case ... that ini_get() set_time_limit() would output anything.. --- action.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/action.php b/action.php index 6e125f5b3..c05bcf49e 100644 --- a/action.php +++ b/action.php @@ -210,17 +210,17 @@ else .basename($file).'";'; } +foreach ($http_headers as $header) +{ + header( $header ); +} + // Looking at the safe_mode configuration for execution time if (ini_get('safe_mode') == 0) { @set_time_limit(0); } -foreach ($http_headers as $header) -{ - header( $header ); -} - // Without clean and flush there may be some image download problems, or image can be corrupted after download if (ob_get_length() !== FALSE) {