Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2012-06-04 16:35:17 +0400
committerMichal Čihař <mcihar@suse.cz>2012-06-04 16:35:17 +0400
commit98a1b4c82b872ff52f8f3a62a77c5a683124870a (patch)
tree3c94a90b9c1dc54cc47b0d01ba6670840bf36d3f /show_config_errors.php
parent0e21cac2353ec2599837b17dab9a8c6d1a5c5742 (diff)
Wrap long lines, move comments, remove unused code
Diffstat (limited to 'show_config_errors.php')
-rw-r--r--show_config_errors.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/show_config_errors.php b/show_config_errors.php
index 18dcbabc1b..0d0cdf4456 100644
--- a/show_config_errors.php
+++ b/show_config_errors.php
@@ -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')
) {