@@ -42,8 +42,9 @@ |
||
42 | 42 | $response = new Response(403, View::renderErrorPage(403, $rnae->getMessage(), array('Content-Type' => 'text/html'))); |
43 | 43 | } |
44 | 44 | |
45 | -if ($config->get('security.http.header.x.frame.options') != '') |
|
46 | - $response->getHeader('X-Frame-Options', $config->get('security.http.header.x.frame.options')); |
|
45 | +if ($config->get('security.http.header.x.frame.options') != '') { |
|
46 | + $response->getHeader('X-Frame-Options', $config->get('security.http.header.x.frame.options')); |
|
47 | +} |
|
47 | 48 | |
48 | 49 | echo $response->send(); |
49 | 50 |