@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | } |
| 29 | 29 | //make sure that caching is always https |
| 30 | 30 | $owner = $this->getOwner(); |
| 31 | - if(Director::isLive()) { |
|
| 31 | + if (Director::isLive()) { |
|
| 32 | 32 | $owner->response->addHeader('Strict-Transport-Security', 'max-age=31536000; includeSubDomains'); |
| 33 | 33 | } |
| 34 | 34 | /** PageController|ControllerExtension $owner */ |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | return null; |
| 39 | 39 | } |
| 40 | 40 | $sc = SiteConfig::current_site_config(); |
| 41 | - if (! $sc->HasCaching) { |
|
| 41 | + if (!$sc->HasCaching) { |
|
| 42 | 42 | return null; |
| 43 | 43 | } |
| 44 | 44 | $request = $owner->getRequest(); |