mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-06 21:36:30 +02:00
Fixes a edge-case problem with the API.
This commit is contained in:
@@ -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");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user