mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-28 14:04:45 -04:00
Fixes a edge-case problem with the API.
This commit is contained in:
parent
ca19318671
commit
072f1c8158
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ normalized_require_once("/server/php/inc/Entry.php");
|
||||||
|
|
||||||
$app = new App(APP_ABS_PATH, APP_ABS_HREF, ABS_HREF);
|
$app = new App(APP_ABS_PATH, APP_ABS_HREF, ABS_HREF);
|
||||||
|
|
||||||
if (count($_REQUEST)) {
|
// if (count($_REQUEST)) {
|
||||||
|
if (array_key_exists("action", $_REQUEST)) {
|
||||||
|
|
||||||
header("Content-type: application/json");
|
header("Content-type: application/json");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue