1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-03-20 04:20:00 +01:00

Fixes a edge-case problem with the API.

This commit is contained in:
Lars Jung 2012-10-16 15:16:20 +02:00
parent ca19318671
commit 072f1c8158

@ -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");