diff options
Diffstat (limited to 'endpoints')
-rw-r--r-- | endpoints/api.php | 2 | ||||
-rw-r--r-- | endpoints/config.js | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/endpoints/api.php b/endpoints/api.php index 4d467ff..e617625 100644 --- a/endpoints/api.php +++ b/endpoints/api.php @@ -381,7 +381,7 @@ if($vbox && $vbox->errors) { if(isset($request['printr'])) {
print_r($response);
} else {
- header('Content-type', 'application/json');
+ header('Content-type: application/json');
echo(json_encode($response));
}
diff --git a/endpoints/config.js b/endpoints/config.js index 3cfeb98..3ada889 100644 --- a/endpoints/config.js +++ b/endpoints/config.js @@ -1,6 +1,5 @@ /* * Endpoint configuration for phpVirtualBox - * $Id$ */ var vboxEndpointConfig = { api: 'endpoints/api.php', |