Update common.php
parent
c9fd10abda
commit
86add8bd4c
|
@ -1028,7 +1028,7 @@ function render_list($path = '', $files = '')
|
||||||
$htmlpage = include 'theme/'.$theme;
|
$htmlpage = include 'theme/'.$theme;
|
||||||
|
|
||||||
$html = '<!--
|
$html = '<!--
|
||||||
Github : https://github.com/qkqpttgf/OneManager-php
|
Github : https://github.com/BingoKingo/Tfo
|
||||||
-->' . ob_get_clean();
|
-->' . ob_get_clean();
|
||||||
if (isset($htmlpage['statusCode'])) return $htmlpage;
|
if (isset($htmlpage['statusCode'])) return $htmlpage;
|
||||||
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' ]);
|
||||||
|
|
Loading…
Reference in New Issue