diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-03-18 01:32:14 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-03-18 01:32:14 -0700 |
commit | c5175d4a06c993ff7f42c16178b6d4db49b7387e (patch) | |
tree | d8629d21c81c27fe2cb52b2e201285c3449d1e7c /images/marks/rotate.php | |
parent | aa2388203ebc2fad01b8280777e5a40de4fcc813 (diff) | |
download | pathery-c5175d4a06c993ff7f42c16178b6d4db49b7387e.tar.xz |
Wall orientation achievements - huge commit.
Diffstat (limited to 'images/marks/rotate.php')
-rw-r--r-- | images/marks/rotate.php | 5 |
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) {
|