diff --git a/index.php b/index.php index 939c034..cf56d39 100644 --- a/index.php +++ b/index.php @@ -71,6 +71,9 @@ function get_stats(){ return $ret; } +if(file_exists("currentgithash")) + $hash = file_get_contents("currentgithash"); + $page = isset($_GET["page"])?$_GET["page"]:"dashboard"; if (!auth()) { diff --git a/templates/dashboard.php b/templates/dashboard.php index e5f9278..5063523 100644 --- a/templates/dashboard.php +++ b/templates/dashboard.php @@ -16,7 +16,7 @@ $stats = get_stats();