Mercurial > hg > webaudioevaluationtool
comparison php/save.php @ 2635:325e1ca3e03b
Un-mute errors in save.php
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Thu, 19 Jan 2017 13:03:08 +0000 |
parents | 7d2267e094ca |
children | 8fc8d28d8e8e |
comparison
equal
deleted
inserted
replaced
2634:7d2267e094ca | 2635:325e1ca3e03b |
---|---|
18 // Set the response headers | 18 // Set the response headers |
19 header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); | 19 header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); |
20 header("Pragma: no-cache"); | 20 header("Pragma: no-cache"); |
21 header('Access-Control-Allow-Origin: *'); | 21 header('Access-Control-Allow-Origin: *'); |
22 header("Content-type: text/xml"); | 22 header("Content-type: text/xml"); |
23 error_reporting(0); | 23 //error_reporting(0); |
24 | 24 |
25 // Load up the parameters | 25 // Load up the parameters |
26 $saveFilenamePrefix = ''; | 26 $saveFilenamePrefix = ''; |
27 if (isset($_GET['saveFilenamePrefix'])) { | 27 if (isset($_GET['saveFilenamePrefix'])) { |
28 $saveFilenamePrefix = $_GET['saveFilenamePrefix'].'-'; | 28 $saveFilenamePrefix = $_GET['saveFilenamePrefix'].'-'; |