summaryrefslogtreecommitdiffstats
path: root/images/marks
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-03-18 01:32:14 -0700
committerPatrick Davison <snapwilliam@gmail.com>2013-03-18 01:32:14 -0700
commitc5175d4a06c993ff7f42c16178b6d4db49b7387e (patch)
treed8629d21c81c27fe2cb52b2e201285c3449d1e7c /images/marks
parentaa2388203ebc2fad01b8280777e5a40de4fcc813 (diff)
downloadpathery-c5175d4a06c993ff7f42c16178b6d4db49b7387e.tar.xz
Wall orientation achievements - huge commit.
Diffstat (limited to 'images/marks')
-rw-r--r--images/marks/rotate.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/images/marks/rotate.php b/images/marks/rotate.php
index 9b0a3fe..41a203a 100644
--- a/images/marks/rotate.php
+++ b/images/marks/rotate.php
@@ -10,7 +10,10 @@ $degrees = $_GET['r'] * 90;
// Content type
header('Content-type: image/jpeg');
-//TODO Add cache
+//TODO Update Cache
+header("Cache-Control: private, max-age=10800, pre-check=10800");
+header("Pragma: private");
+header("Expires: " . date(DATE_RFC822,strtotime(" 2 day")));
$simage = @imagecreatefrompng($emblem);
if(!$simage) {