fix ajax.php ACE security problem

This commit is contained in:
Rey5
2023-05-07 04:14:25 +08:00
parent e546013dac
commit d09e57a09f

View File

@@ -36,7 +36,6 @@ function noAction()
try {
if(!isset($CURUSER))throw new \RuntimeException('Permission Denied');
$result = call_user_func($action, $params);
exit(json_encode(success($result)));
} catch (\Throwable $exception) {