1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-10 04:02:28 +01:00
This commit is contained in:
Chaoyi Zha 2015-01-12 14:52:32 -05:00
parent a47c287fdb
commit 83014e7783

View File

@ -4,7 +4,7 @@ if (!@include('config.php')) {
}
@session_start();
if (strlen($_SESSION['username']) < 1 && $li_show_front === true) {
die("<h1>400 Forbidden</h1><em><a href='login.php'>Login</a> to access this resource.</em>");
die("<h1>401 Unauthorized</h1><em><a href='login.php'>Login</a> to access this resource.</em>");
}
require_once('layout-headerlg.php');