summaryrefslogtreecommitdiff
path: root/www/add.php
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2018-07-24 13:12:41 +0000
committerIan C <ianc@noddybox.co.uk>2018-07-24 13:12:41 +0000
commitba923b884a2678b5100e6defd07c9b7adb48bf30 (patch)
treee031b04db1ccbd1ef11b40f7607dc6e13c1f8b14 /www/add.php
parent44131e56b84d636f6a85e64b965d0a04faadc2d0 (diff)
Don't know if it matters, but tried to stop chacheing.
Diffstat (limited to 'www/add.php')
-rw-r--r--www/add.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/add.php b/www/add.php
index 517d724..2ecff7b 100644
--- a/www/add.php
+++ b/www/add.php
@@ -57,6 +57,9 @@ catch(PDOException $e)
$result["error"] = "DB error:" . $e->getMessage();
}
+header("Cache-Control: no-cache, no-store, must-revalidate");
+header("Pragma: no-cache");
+header("Expires: 0");
header("Content-type:application/json");
echo json_encode($result);