Update index.php

This commit is contained in:
qkqpttgf
2020-01-09 14:30:55 +08:00
committed by GitHub
parent 7fcb08f2ba
commit 61978fac5f
+4
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)