From 4b8d52d937d396301c17472874cb645e92258df3 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Sun, 22 Apr 2012 21:28:41 +0530 Subject: Fix CheckStyle warnings, Type:CloseBracketNewLine (Closing parenthesis of a multi-line IF statement must be on a new line) --- show_config_errors.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'show_config_errors.php') diff --git a/show_config_errors.php b/show_config_errors.php index 0b295ed031..18dcbabc1b 100644 --- a/show_config_errors.php +++ b/show_config_errors.php @@ -10,7 +10,8 @@ $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 if (isset($_SERVER['HTTP_USER_AGENT']) - && stristr($_SERVER['HTTP_USER_AGENT'], 'MSIE')) { + && stristr($_SERVER['HTTP_USER_AGENT'], 'MSIE') +) { /* FIXME: Why is this special case for IE needed? */ header('Pragma: public'); -- cgit v1.2.3