pretty url

This commit is contained in:
/jedi/ 2018-12-30 06:38:05 +01:00
parent 1c1fc418ce
commit 46f6b78040
9 changed files with 65 additions and 64 deletions

View file

@ -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";