Update index.php

pull/13/head
qkqpttgf 2020-01-08 10:23:59 +08:00 committed by GitHub
parent 772f9d754d
commit 98af772235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -680,7 +680,9 @@ function render_list($path, $files)
include 'theme/'.$theme;
$html=ob_get_clean();
$html = '<!--
github https://github.com/qkqpttgf/OneManager-php
-->' . ob_get_clean();
if ($_SERVER['Set-Cookie']!='') return output($html, $statusCode, [ 'Set-Cookie' => $_SERVER['Set-Cookie'], 'Content-Type' => 'text/html' ]);
return output($html,$statusCode);
}