Update common.php

This commit is contained in:
Mr.Lin
2020-03-04 08:13:07 +08:00
committed by GitHub
parent 5209b12105
commit 14d3d8df93
+1 -1
View File
@@ -1079,7 +1079,7 @@ function render_list($path = '', $files = '')
$htmlpage = include 'theme/'.$theme;
$html = '<!--
Github https://github.com/qkqpttgf/OneManager-php
Github https://github.com/ldxw/OneManager-php
-->' . ob_get_clean();
if (isset($htmlpage['statusCode'])) return $htmlpage;
if ($_SERVER['Set-Cookie']!='') return output($html, $statusCode, [ 'Set-Cookie' => $_SERVER['Set-Cookie'], 'Content-Type' => 'text/html' ]);