Changeset 5843 for branches/2.2/workflow/inc
- Timestamp:
- 03/28/12 15:41:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/workflow/inc/class.ResourcesRedirector.inc.php
r3167 r5843 144 144 /* arquivo não está em cache ou o cache já expirou */ 145 145 header('Last-Modified: ' . gmdate('D, d M Y H:i:s', filemtime($filename)).' GMT', true, 200); 146 header('Content-Length: ' . filesize($filename)); 146 // TODO: The line below causes slowness when downloading files in certain Apache configurations 147 //header('Content-Length: ' . filesize($filename)); 147 148 header('Content-Type: ' . $mimeType); 148 149 header('Content-Disposition: filename="' . basename($filename) . '"');
Note: See TracChangeset
for help on using the changeset viewer.