From 61978fac5fbb5ea45f5052b5b6ca76b67a04c929 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Thu, 9 Jan 2020 14:30:55 +0800 Subject: [PATCH] Update index.php --- index.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.php b/index.php index 4277677..1d00549 100644 --- a/index.php +++ b/index.php @@ -427,6 +427,10 @@ function adminoperate($path) savecache('path_' . $path1, json_decode('{}',true), 1); return output($result['body'], $result['stat']); } + if ($_GET['RefreshCache']) { + savecache('path_' . $path1, json_decode('{}',true), 1); + return output('', 302, [ 'Location' => $_SERVER['PHP_SHELL'] ]); + } return $tmparr; } function MSAPI($method, $path, $data = '', $access_token)