disable php auth
This commit is contained in:
parent
6dd8041fe4
commit
c5a7676422
1 changed files with 3 additions and 1 deletions
|
@ -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";
|
||||||
?>
|
?>
|
Loading…
Reference in a new issue