Revision 6c07db48
Added by Phil Davis about 10 years ago
usr/local/www/getstats.php | ||
---|---|---|
37 | 37 |
##|*MATCH=getstats.php* |
38 | 38 |
##|-PRIV |
39 | 39 |
|
40 |
header("Last-Modified: " . gmdate( "D, j M Y H:i:s" ) . " GMT" );
|
|
41 |
header("Expires: " . gmdate( "D, j M Y H:i:s", time() ) . " GMT" );
|
|
42 |
header("Cache-Control: no-cache, no-store, must-revalidate" ); // HTTP/1.1
|
|
40 |
header("Last-Modified: " . gmdate("D, j M Y H:i:s") . " GMT");
|
|
41 |
header("Expires: " . gmdate("D, j M Y H:i:s", time()) . " GMT");
|
|
42 |
header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP/1.1 |
|
43 | 43 |
header("Pragma: no-cache"); // HTTP/1.0 |
44 | 44 |
|
45 | 45 |
require_once("guiconfig.inc"); |
Also available in: Unified diff
Code spacing
and other random stuff I noticed.
I think this finishes messing with code style. The codebase should match
the developer style guide closely enough that 99.9% of changes will not
feel the need to also massage the formatting.