DataObjects/Builder_tables.php
authorEdward <edward@roojs.com>
Fri, 9 May 2014 07:07:32 +0000 (15:07 +0800)
committerEdward <edward@roojs.com>
Fri, 9 May 2014 07:07:32 +0000 (15:07 +0800)
DataObjects/Builder_tables.php

index 9cedc6b..f1fd38a 100644 (file)
@@ -236,6 +236,9 @@ class Pman_Builder_DataObjects_Builder_tables extends DB_DataObject
         
         header ('Content-Type: application/octet-stream');
         header("Content-Disposition: attachment; filename=\"".$path."\";" );
+        header("Expires: 0");
+        header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
+        header("Pragma: public");
         @ob_clean();
         flush();
         readfile($path);