Rev 71 | Rev 117 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 71 | Rev 106 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | $encoding = 'UTF-8'; |
3 | $encoding = 'UTF-8'; |
4 | header("Content-Type: text/html" . ($encoding ? "; charset=$encoding" : "")); |
4 | header("Content-Type: text/html" . ($encoding ? "; charset=$encoding" : "")); |
5 | 5 | ||
6 | $modi = max(array( |
6 | $modi = max(array( |
7 | @filemtime(__FILE__), |
7 | @filemtime(__FILE__), |
- | 8 | @filemtime('LocaleData'), |
|
8 | @filemtime('index.phtml'), |
9 | @filemtime('index.phtml'), |
- | 10 | @filemtime('styles/lcars-basic.css'), |
|
- | 11 | @filemtime('styles/lcars22.css'), |
|
- | 12 | @filemtime('styles/lcars-ani.css'), |
|
- | 13 | @filemtime('scripts/object.js'), |
|
9 | )); |
14 | )); |
10 | 15 | ||
11 | header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $modi) . ' GMT'); |
16 | header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $modi) . ' GMT'); |
12 | 17 | ||
13 | /* Cached resource expires in HTTP/1.1 caches 24h after last retrieval */
|
18 | /* Cached resource expires in HTTP/1.1 caches 24h after last retrieval */
|