fix
This commit is contained in:
parent
5369f31ed1
commit
d5dccdc55c
@ -98,6 +98,7 @@ function ajax_response(mixed $data, int $code = 200): void {
|
||||
function ensure_admin() {
|
||||
if (!is_admin())
|
||||
forbidden();
|
||||
set_skin_opts(['inside_admin_interface' => true]);
|
||||
}
|
||||
|
||||
function ensure_xhr() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user