Browse Source

Add CORS header to status.php so that we can migrate to a JS based check in the future

tags/v8.2beta1
Lukas Reschke 8 years ago
parent
commit
c9e2a2f56e
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      status.php

+ 1
- 0
status.php View File

if (OC::$CLI) { if (OC::$CLI) {
print_r($values); print_r($values);
} else { } else {
header('Access-Control-Allow-Origin: *');
header('Content-Type: application/json'); header('Content-Type: application/json');
echo json_encode($values); echo json_encode($values);
} }

Loading…
Cancel
Save