1
0
Fork 0

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

View file

@ -44,7 +44,6 @@ else
echo"<body id=\"top\">"; 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> <a href="#content" class="sr-only sr-only-focusable">Skip to main content</a>
<?php <?php
if(x($page,'nav') && (!$minimal)){ if(x($page,'nav') && (!$minimal)){