From 98af7722351e2ac990d6ebdbcadfa44c0254a3eb Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Wed, 8 Jan 2020 10:23:59 +0800 Subject: [PATCH] Update index.php --- index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 9131b19..c946543 100644 --- a/index.php +++ b/index.php @@ -680,7 +680,9 @@ function render_list($path, $files) include 'theme/'.$theme; - $html=ob_get_clean(); + $html = '' . ob_get_clean(); if ($_SERVER['Set-Cookie']!='') return output($html, $statusCode, [ 'Set-Cookie' => $_SERVER['Set-Cookie'], 'Content-Type' => 'text/html' ]); return output($html,$statusCode); }