diff options
-rw-r--r-- | BigLine.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BigLine.php b/BigLine.php index 4e5c65a..b29b01a 100644 --- a/BigLine.php +++ b/BigLine.php @@ -74,7 +74,7 @@ if (is_file($Cache)) } /*----------------------------------------------------------- - Ok, now we are ready to create the image with GD. + Ok, now we are ready to create the image with GD. */ $playcount = $data['playcount']; @@ -247,7 +247,7 @@ function SendCacheHeaders($lastmodified, $maxage, $limit="public") } /* Give a fresh copy */ - $Expires = GetGMT($lastmodified + $maxage); + $Expires = GetGMT($_SERVER[REQUEST_TIME] + $maxage); header("Cache-Control: max-age=$maxage, $limit"); header("Last-Modified: $LastModified"); header("Expires: $Expires"); |