From 78ec7543d50ff3ab269e4d668730405841038c6b Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 8 Apr 2015 18:02:00 +0200 Subject: Fix maintenance refresh interval * fix XMLHttpRequest - send after callback is registered * check for correct type of value - it's a boolean * return correct content-type in status.php --- status.php | 1 + 1 file changed, 1 insertion(+) (limited to 'status.php') diff --git a/status.php b/status.php index 1628e824e00..6e7bcea5266 100644 --- a/status.php +++ b/status.php @@ -41,6 +41,7 @@ try { if (OC::$CLI) { print_r($values); } else { + header('Content-Type: application/json'); echo json_encode($values); } -- cgit v1.2.3