Update index.php

pull/13/head
qkqpttgf 2020-01-09 14:30:55 +08:00 committed by GitHub
parent 7fcb08f2ba
commit 61978fac5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -427,6 +427,10 @@ function adminoperate($path)
savecache('path_' . $path1, json_decode('{}',true), 1); savecache('path_' . $path1, json_decode('{}',true), 1);
return output($result['body'], $result['stat']); 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; return $tmparr;
} }
function MSAPI($method, $path, $data = '', $access_token) function MSAPI($method, $path, $data = '', $access_token)