c3lf-system-3/index.php

28 lines
514 B
PHP
Raw Permalink Normal View History

2018-12-27 04:23:10 +00:00
<?php
/**
* Created by PhpStorm.
* User: jedi
* Date: 12/27/18
* Time: 2:49 AM
*/
2018-12-27 07:27:47 +00:00
include "backend.php";
include "functions.php";
2018-12-27 07:27:47 +00:00
2018-12-27 18:51:29 +00:00
2018-12-27 19:52:35 +00:00
if(file_exists("currentgithash"))
$hash = file_get_contents("currentgithash");
2018-12-27 07:27:47 +00:00
$page = isset($_GET["page"])?$_GET["page"]:"dashboard";
2019-03-02 01:19:59 +00:00
/*
2018-12-27 04:23:10 +00:00
if (!auth()) {
header('WWW-Authenticate: Basic realm="C3CLOC"');
header('HTTP/1.0 401 Unauthorized');
2018-12-27 07:27:47 +00:00
include "templates/404.php";
2018-12-27 04:23:10 +00:00
exit;
} else {
2018-12-27 07:27:47 +00:00
include "templates/page.php";
2019-03-02 01:19:59 +00:00
}*/
include "templates/page.php";
2018-12-27 04:23:10 +00:00
?>