Changeset 1313

Show
Ignore:
Timestamp:
11/26/07 11:24:00 (1 year ago)
Author:
misja
Message:

Misja Hoebe <misja@curverider.co.uk> Applied #161, seemed harmless enough

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/file/download.php

    r1114 r1313  
    2626                 
    2727                // Then output some appropriate headers and send the file data! 
    28                 if ($file->access == 'PUBLIC') { 
     28                // TODO: bug on ie, if using ssl force public cache control 
     29                //       using port, $_SERVER['HTTPS'] does not work always 
     30                if ($file->access == 'PUBLIC' || isset($_SERVER['HTTPS']) || $_SERVER['SERVER_PORT'] == 443) { 
    2931                    header("Pragma: public"); 
    3032                    header("Cache-Control: public");