Browse Source

ajout content-type

master
Cabillot Julien 5 years ago
parent
commit
09a8293392
1 changed files with 2 additions and 0 deletions
  1. 2
      controller/status.php

2
controller/status.php

@ -24,6 +24,8 @@ function getStatus()
function cleanList()
{
header('Content-type: application/json');
if (!isset($_GET['type']) || empty($_GET['type'])) {
echo json_encode('pas de type, exit');
exit();

Loading…
Cancel
Save