mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
simplify no action output
This commit is contained in:
@@ -160,7 +160,7 @@ try {
|
||||
$result = $class::$action($params);
|
||||
exit(json_encode(success($result)));
|
||||
} else {
|
||||
do_log('hack attempt '.print_r($CURUSER, true), 'error');
|
||||
do_log("hacking attempt made by {$CURUSER['username']},uid {$CURUSER['id']}", 'error');
|
||||
throw new \RuntimeException("no Action");
|
||||
}
|
||||
}catch(\Throwable $exception){
|
||||
|
||||
Reference in New Issue
Block a user