mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-16 14:00:56 +08:00
fix ajax.php ACE security problem
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user