diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-10 19:01:32 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-10 19:01:32 +0200 |
commit | d525654fcd9af0a8887bae510377da71406cc4a9 (patch) | |
tree | 666e7007fabe906e08db109d7c6d72cc5728f276 /lib/template.php | |
parent | cda213596672b50e4c1dff3846444a61a47cfd7d (diff) | |
download | nextcloud-server-d525654fcd9af0a8887bae510377da71406cc4a9.tar.gz nextcloud-server-d525654fcd9af0a8887bae510377da71406cc4a9.zip |
Correct indentation
Diffstat (limited to 'lib/template.php')
-rw-r--r-- | lib/template.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/template.php b/lib/template.php index fb81ec62519..1c529932a30 100644 --- a/lib/template.php +++ b/lib/template.php @@ -159,9 +159,11 @@ class OC_Template{ $this->vars['requestlifespan'] = OC_Util::$callLifespan; $parts = explode('/', $app); // fix translation when app is something like core/lostpassword $this->l10n = OC_L10N::get($parts[0]); - header('X-Frame-Options: Sameorigin'); - header('X-XSS-Protection: 1; mode=block'); - header('X-Content-Type-Options: nosniff'); + + // Some headers to enhance security + header('X-Frame-Options: Sameorigin'); + header('X-XSS-Protection: 1; mode=block'); + header('X-Content-Type-Options: nosniff'); $this->findTemplate($name); } |