Completed
Branch master (0c2140)
by Charis
03:27
created
src/Serve.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         
79 79
         $this->http_header();
80 80
         if ($this->opts['etag']) {
81
-            header("Etag: " . md5($buffer));
81
+            header("Etag: ".md5($buffer));
82 82
         }
83 83
         
84 84
         return $buffer;
@@ -86,9 +86,9 @@  discard block
 block discarded – undo
86 86
     
87 87
     private function http_header()
88 88
     {
89
-        header("Expires: ". gmdate('D, d M Y H:i:s', time() + $this->opts['timeout']) ." GMT");
90
-        header("Last-Modified: ". gmdate('D, d M Y H:i:s', time()) ." GMT");
91
-        header("Cache-Control: max-age=" . $this->opts['maxAge']);
89
+        header("Expires: ".gmdate('D, d M Y H:i:s', time() + $this->opts['timeout'])." GMT");
90
+        header("Last-Modified: ".gmdate('D, d M Y H:i:s', time())." GMT");
91
+        header("Cache-Control: max-age=".$this->opts['maxAge']);
92 92
         header("Pragma: cache");
93 93
         session_cache_limiter('public');
94 94
     }
Please login to merge, or discard this patch.