Frio: remove header(location) in default.php

The call to header() is too late in code (output was already sent)
This commit is contained in:
fabrixxm 2016-05-27 15:53:11 +02:00
parent 6fcad290a4
commit e568020718
1 changed files with 0 additions and 1 deletions

View File

@ -44,7 +44,6 @@ else
echo"<body id=\"top\">";
}
?>
<?php if($_SERVER['REQUEST_URI'] == "/"){header('Location: /login');} ?>
<a href="#content" class="sr-only sr-only-focusable">Skip to main content</a>
<?php
if(x($page,'nav') && (!$minimal)){