Changeset 12780 for extensions/derivatives/i.php
- Timestamp:
- Dec 22, 2011, 8:26:18 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/derivatives/i.php
r12779 r12780 282 282 switch (strtolower($page['derivative_ext'])) 283 283 { 284 case "jpe": case "jpeg": 285 case "jpg": $ctype="image/jpeg"; break; 286 case "png": $ctype="image/png"; break; 287 case "gif": $ctype="image/gif"; break; 284 case ".jpe": case ".jpeg": case ".jpg": $ctype="image/jpeg"; break; 285 case ".png": $ctype="image/png"; break; 286 case ".gif": $ctype="image/gif"; break; 288 287 } 289 288 header("Content-Type: $ctype");
Note: See TracChangeset
for help on using the changeset viewer.