mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
fix ajax.php ACE security problem
This commit is contained in:
@@ -36,7 +36,6 @@ function noAction()
|
|||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if(!isset($CURUSER))throw new \RuntimeException('Permission Denied');
|
|
||||||
$result = call_user_func($action, $params);
|
$result = call_user_func($action, $params);
|
||||||
exit(json_encode(success($result)));
|
exit(json_encode(success($result)));
|
||||||
} catch (\Throwable $exception) {
|
} catch (\Throwable $exception) {
|
||||||
|
|||||||
Reference in New Issue
Block a user