mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 12:34:47 -04:00
Refactor PHP.
This commit is contained in:
parent
8fd393d34a
commit
903b29c4c0
4 changed files with 10 additions and 11 deletions
|
@ -103,7 +103,7 @@ class Api {
|
|||
$response["all_items"] = $this->app->get_all_items();
|
||||
}
|
||||
|
||||
if (count($_REQUEST)) {
|
||||
if (AS_ADMIN && count($_REQUEST)) {
|
||||
$response["unused"] = $_REQUEST;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue