Changeset 423 for devel/_icons

Show
Ignore:
Timestamp:
07/03/06 00:04:53 (2 years ago)
Author:
sven
Message:

icons: more phpthumb fiddling
html validation fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/_icons/icon.php

    r421 r423  
    3636    $filepath = $CFG->dirroot.'_icons/data/default.png'; 
    3737    $mimetype = 'image/png'; 
    38     header("Cache-Control: public"); 
    3938} else { 
    4039    $mimetype = mimeinfo('type', $file->filename); 
    41     // "Cache-Control: private" to allow a user's browser to cache the file, but not a shared proxy 
    42     // Also to override PHP's default "DON'T EVER CACHE THIS EVER" header 
    43     header("Cache-Control: private"); 
    4440} 
     41 
    4542 
    4643// Then output some appropriate headers and send the file data! 
     
    6360} 
    6461 
     62// user icons are public 
     63header("Cache-Control: public"); 
     64 
    6565if (!empty($phpthumb)) { 
    6666    // let phpthumb manipulate the image