diff --git a/index.php b/index.php index a62d7d6..ddce522 100644 --- a/index.php +++ b/index.php @@ -88,7 +88,8 @@ $page = isset($_GET["page"])?$_GET["page"]:"dashboard"; if (!auth()) { header('WWW-Authenticate: Basic realm="C3CLOC"'); header('HTTP/1.0 401 Unauthorized'); - include "templates/404.php"; + //include "templates/demo/404.html"; + exit; } else { include "templates/page.php"; diff --git a/templates/dashboard.php b/templates/dashboard.php index 15a090f..018546f 100644 --- a/templates/dashboard.php +++ b/templates/dashboard.php @@ -29,7 +29,7 @@ $stats = get_stats();