]> git.mxchange.org Git - friendica.git/commitdiff
Frio: remove header(location) in default.php
authorfabrixxm <fabrix.xm@gmail.com>
Fri, 27 May 2016 13:53:11 +0000 (15:53 +0200)
committerfabrixxm <fabrix.xm@gmail.com>
Fri, 27 May 2016 13:53:11 +0000 (15:53 +0200)
The call to header() is too late in code (output was already sent)

view/theme/frio/php/modes/default.php

index e5971aefa9512633f9053ebbc3371c8b089e066f..6f9c1a4b063b74ea8d4fe47287182c4a23676d92 100644 (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)){