Changeset 1313
- Timestamp:
- 11/26/07 11:24:00 (1 year ago)
- Files:
-
- devel/mod/file/download.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/file/download.php
r1114 r1313 26 26 27 27 // Then output some appropriate headers and send the file data! 28 if ($file->access == 'PUBLIC') { 28 // TODO: bug on ie, if using ssl force public cache control 29 // using port, $_SERVER['HTTPS'] does not work always 30 if ($file->access == 'PUBLIC' || isset($_SERVER['HTTPS']) || $_SERVER['SERVER_PORT'] == 443) { 29 31 header("Pragma: public"); 30 32 header("Cache-Control: public");
