disable php auth

This commit is contained in:
/jedi/ 2019-03-02 02:19:59 +01:00
parent 6dd8041fe4
commit c5a7676422

View file

@ -15,6 +15,7 @@ if(file_exists("currentgithash"))
$page = isset($_GET["page"])?$_GET["page"]:"dashboard"; $page = isset($_GET["page"])?$_GET["page"]:"dashboard";
/*
if (!auth()) { if (!auth()) {
header('WWW-Authenticate: Basic realm="C3CLOC"'); header('WWW-Authenticate: Basic realm="C3CLOC"');
header('HTTP/1.0 401 Unauthorized'); header('HTTP/1.0 401 Unauthorized');
@ -22,5 +23,6 @@ if (!auth()) {
exit; exit;
} else { } else {
include "templates/page.php"; include "templates/page.php";
} }*/
include "templates/page.php";
?> ?>