Skip to content

Commit

Permalink
Wrap long lines, move comments, remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Jun 4, 2012
1 parent 0e21cac commit 98a1b4c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions show_config_errors.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@
* @package PhpMyAdmin
*/

$GLOBALS['now'] = gmdate('D, d M Y H:i:s') . ' GMT';
header('Expires: ' . date(DATE_RFC1123)); // rfc2616 - Section 14.21
header('Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0'); // HTTP/1.1
// rfc2616 - Section 14.21
header('Expires: ' . date(DATE_RFC1123));
// HTTP/1.1
header(
'Cache-Control: no-store, no-cache, must-revalidate,'
. ' pre-check=0, post-check=0, max-age=0'
);
if (isset($_SERVER['HTTP_USER_AGENT'])
&& stristr($_SERVER['HTTP_USER_AGENT'], 'MSIE')
) {
Expand Down

0 comments on commit 98a1b4c

Please sign in to comment.