Correct indentation
This commit is contained in:
parent
cda2135966
commit
d525654fcd
|
@ -159,6 +159,8 @@ class OC_Template{
|
||||||
$this->vars['requestlifespan'] = OC_Util::$callLifespan;
|
$this->vars['requestlifespan'] = OC_Util::$callLifespan;
|
||||||
$parts = explode('/', $app); // fix translation when app is something like core/lostpassword
|
$parts = explode('/', $app); // fix translation when app is something like core/lostpassword
|
||||||
$this->l10n = OC_L10N::get($parts[0]);
|
$this->l10n = OC_L10N::get($parts[0]);
|
||||||
|
|
||||||
|
// Some headers to enhance security
|
||||||
header('X-Frame-Options: Sameorigin');
|
header('X-Frame-Options: Sameorigin');
|
||||||
header('X-XSS-Protection: 1; mode=block');
|
header('X-XSS-Protection: 1; mode=block');
|
||||||
header('X-Content-Type-Options: nosniff');
|
header('X-Content-Type-Options: nosniff');
|
||||||
|
|
Loading…
Reference in New Issue