Changeset 6262
- Timestamp:
- 05/22/12 10:23:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/workflow/inc/class.ResourcesRedirector.inc.php
r3167 r6262 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 next line causes delay when downloading files in certains 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.