Changeset 800 for devel/_files/download.php
- Timestamp:
- 01/14/07 06:36:05 (2 years ago)
- Files:
-
- devel/_files/download.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/_files/download.php
r723 r800 46 46 // are thick. 47 47 if (preg_match('#^(application.*zip|image/(png|jpeg|gif))$#', $mimetype)) { 48 @apache_setenv('no-gzip', '1'); 48 if (function_exists('apache_setenv')) { // apparently @ isn't enough to make php ignore this failing 49 @apache_setenv('no-gzip', '1'); 50 } 49 51 } 50 52 spitfile_with_mtime_check($CFG->dataroot . $file->location, $mimetype, $file->handler);
