From d09e57a09f44482ebcb4340387f65aa1cc5559de Mon Sep 17 00:00:00 2001 From: Rey5 Date: Sun, 7 May 2023 04:14:25 +0800 Subject: [PATCH] fix ajax.php ACE security problem --- public/ajax.php | 1 - 1 file changed, 1 deletion(-) diff --git a/public/ajax.php b/public/ajax.php index 271251e7..8af1b1fd 100644 --- a/public/ajax.php +++ b/public/ajax.php @@ -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) {