From 9ce63661d1ce941dee468cec6fe197534a636f40 Mon Sep 17 00:00:00 2001 From: momo-i Date: Thu, 3 Feb 2011 14:03:16 +0900 Subject: Fixed indent and add translation words --- image.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'image.php') diff --git a/image.php b/image.php index 864ad04e..14dc4e87 100644 --- a/image.php +++ b/image.php @@ -95,11 +95,11 @@ switch ($_GET['type']) { $data = explode("/",$mime); $extension = $data['1']; - // Send the headers and output the image - 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"); + // Send the headers and output the image + 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"); header("Content-type: $mime"); header("Content-Disposition: filename=" . $key . "." . $extension); echo $image; @@ -124,10 +124,10 @@ switch ($_GET['type']) { $extension = Art::extension($mime); // Send the headers and output the image - header("Expires: Tue, 27 Mar 1984 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"); + header("Expires: Tue, 27 Mar 1984 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"); header("Content-type: $mime"); header("Content-Disposition: filename=" . scrub_out($media->name) . "." . $extension); echo $source; -- cgit