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
This commit is contained in:
@@ -41,6 +41,7 @@ try {
|
||||
if (OC::$CLI) {
|
||||
print_r($values);
|
||||
} else {
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode($values);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user