Changeset 662
- Timestamp:
- 10/22/06 00:19:52 (2 years ago)
- Files:
-
- devel/_files/download.php (modified) (1 diff)
- devel/_files/icon.php (modified) (1 diff)
- devel/_icons/icon.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/_files/download.php
r655 r662 48 48 // partly because it's pointless, but mainly because some browsers 49 49 // are thick. 50 if (preg_match(' /^application.*zip$/', $mimetype)) {50 if (preg_match('#^(application.*zip|image/(png|jpeg|gif))$#', $mimetype)) { 51 51 @apache_setenv('no-gzip', '1'); 52 52 } devel/_files/icon.php
r654 r662 20 20 require_once($CFG->dirroot . 'lib/filelib.php'); 21 21 require_once($CFG->dirroot . 'lib/iconslib.php'); 22 23 // images most likely don't want compressing, and this will kill the Vary header 24 @apache_setenv('no-gzip', '1'); 22 25 23 26 if ($file->access == 'PUBLIC') { devel/_icons/icon.php
r654 r662 62 62 } 63 63 64 // images most likely don't want compressing, and this will kill the Vary header 65 @apache_setenv('no-gzip', '1'); 66 64 67 // user icons are public 65 68 header("Pragma: public");
