Update index.php

This commit is contained in:
qkqpttgf
2020-01-08 10:33:48 +08:00
committed by GitHub
parent 26ff8a684d
commit 062a199e20
+2 -2
View File
@@ -681,8 +681,8 @@ function render_list($path, $files)
include 'theme/'.$theme; include 'theme/'.$theme;
$html = '<!-- $html = '<!--
github https://github.com/qkqpttgf/OneManager-php github https://github.com/qkqpttgf/OneManager-php
-->' . ob_get_clean(); -->' . ob_get_clean();
if ($_SERVER['Set-Cookie']!='') return output($html, $statusCode, [ 'Set-Cookie' => $_SERVER['Set-Cookie'], 'Content-Type' => 'text/html' ]); if ($_SERVER['Set-Cookie']!='') return output($html, $statusCode, [ 'Set-Cookie' => $_SERVER['Set-Cookie'], 'Content-Type' => 'text/html' ]);
return output($html,$statusCode); return output($html,$statusCode);
} }