ProvideLaserJson.php 347 B

123456789101112131415161718
  1. <?php
  2. ini_set('display_errors', 1);
  3. ini_set('display_startup_errors', 1);
  4. error_reporting(E_ALL);
  5. header("Access-Control-Allow-Origin: *");
  6. header('Content-Type: application/json');
  7. $url = realpath("./../server/json/LaserUI.json");
  8. $json = file_get_contents($url);
  9. //$json = json_decode($json);
  10. echo $json;
  11. ?>