Update common.php
parent
c4ba34a463
commit
6e34596a0d
|
@ -1164,7 +1164,7 @@ function render_list($path = '', $files = '')
|
||||||
include 'theme/'.$theme;
|
include 'theme/'.$theme;
|
||||||
|
|
||||||
$html = '<!--
|
$html = '<!--
|
||||||
Github : https://github.com/qkqpttgf/OneManager-php
|
Github : https://github.com/ldxw/OneManager-php
|
||||||
-->' . ob_get_clean();
|
-->' . ob_get_clean();
|
||||||
//if (isset($htmlpage['statusCode'])) return $htmlpage;
|
//if (isset($htmlpage['statusCode'])) return $htmlpage;
|
||||||
if (isset($_SERVER['Set-Cookie'])) return output($html, $statusCode, [ 'Set-Cookie' => $_SERVER['Set-Cookie'], 'Content-Type' => 'text/html' ]);
|
if (isset($_SERVER['Set-Cookie'])) return output($html, $statusCode, [ 'Set-Cookie' => $_SERVER['Set-Cookie'], 'Content-Type' => 'text/html' ]);
|
||||||
|
|
Loading…
Reference in New Issue