From 012837ab599cab7d70c98e24dded83ae67aefc64 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Wed, 1 Jan 2020 17:11:08 +0800 Subject: [PATCH] Update index.php --- index.php | 1178 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 1176 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 7617da1..6c6b3b8 100644 --- a/index.php +++ b/index.php @@ -16,7 +16,7 @@ $sendHeaders = array(); foreach ($re['headers'] as $headerName => $headerVal) { header($headerName . ': ' . $headerVal, true); } -//http_response_code($re['statusCode']); +http_response_code($re['statusCode']); echo $re['body']; function main() @@ -129,7 +129,7 @@ function main() if ($_SERVER['ishidden']<4) return output('', 302, [ 'Location' => $files['@microsoft.graph.downloadUrl'] ]); } if ( isset($files['folder']) || isset($files['file']) ) { - //return render_list($path, $files); + return render_list($path, $files); } else { return output('