Update common.php

pull/98/head
Mr.Lin 2020-03-04 11:46:03 +08:00 committed by GitHub
parent d5c6c6b1aa
commit 40edce9bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1082,7 +1082,7 @@ function render_list($path = '', $files = '')
$htmlpage = include 'theme/'.$theme; $htmlpage = include 'theme/'.$theme;
$html = '<!-- $html = '<!--
Github https://github.com/ldxw/OneManager-php Github https://github.com/qkqpttgf/OneManager-php
-->' . 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' ]);