summaryrefslogtreecommitdiffstats
path: root/server/ajax.server.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-05 08:07:00 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-05 08:07:00 +0000
commitb611d2e0a3c4b3e67273478baa4138e3bf47c7b4 (patch)
tree4b402e7465e121035a37c875b4ee296e83ad5dc2 /server/ajax.server.php
parent2e340028710ec8cb83defc02dce6bcd0c6993d01 (diff)
downloadampache-b611d2e0a3c4b3e67273478baa4138e3bf47c7b4.tar.gz
ampache-b611d2e0a3c4b3e67273478baa4138e3bf47c7b4.tar.bz2
ampache-b611d2e0a3c4b3e67273478baa4138e3bf47c7b4.zip
* Added echo of pattern on print tags
* Tweaked headers on ajax page * Fixed quick search box issues on browse by song * Reverted to text for browse by albums * Fixed some bad error handling on localplay
Diffstat (limited to 'server/ajax.server.php')
-rw-r--r--server/ajax.server.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/ajax.server.php b/server/ajax.server.php
index caf8d55b..d0f19e99 100644
--- a/server/ajax.server.php
+++ b/server/ajax.server.php
@@ -35,7 +35,10 @@ $action = scrub_in($_REQUEST['action']);
/* Set the correct headers */
header("Content-type: text/xml; charset=" . conf('site_charset'));
header("Content-Disposition: attachment; filename=ajax.xml");
-header("Cache-Control: no-cache");
+header("Expires Sun, 19 Nov 1978 05:00:00 GMT");
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
+header("Cache-Control: no-store, no-cache, must-revalidate");
+header("Pragma: no-cache");
switch ($action) {
/* Controls Localplay */