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:
parent
6fcad290a4
commit
e568020718
|
@ -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)){
|
||||||
|
|
Loading…
Reference in a new issue