Update index.php

This commit is contained in:
qkqpttgf 2020-03-05 09:20:42 +08:00 committed by GitHub
parent 1d43e05e28
commit 0a6e2be63e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@ if ($_SERVER['USER']==='qcloud') {
header($headerName . ': ' . $headerVal, true);
}
http_response_code($re['statusCode']);
echo $re['body'];
if ($re['isBase64Encoded']) echo base64_decode($re['body']);
else echo $re['body'];
} else {
include 'function/normal.php';
$path = getpath();