mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-07-31 10:30:15 +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);
|
||||
|
||||
if (count($_REQUEST)) {
|
||||
// if (count($_REQUEST)) {
|
||||
if (array_key_exists("action", $_REQUEST)) {
|
||||
|
||||
header("Content-type: application/json");
|
||||
|
||||
|
Reference in New Issue
Block a user