Browse Source

Correct indentation

tags/v5.0.0alpha1
Lukas Reschke 11 years ago
parent
commit
d525654fcd
1 changed files with 5 additions and 3 deletions
  1. 5
    3
      lib/template.php

+ 5
- 3
lib/template.php View File

@@ -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);
}

Loading…
Cancel
Save