From 36a565c0713a68c758768190d3d336873611775b Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Thu, 19 Jul 2018 02:45:43 -0400 Subject: Add basic dashboard page --- app/index.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/index.php') diff --git a/app/index.php b/app/index.php index 8547671..177cb1b 100644 --- a/app/index.php +++ b/app/index.php @@ -42,6 +42,13 @@ function main(array $argv) : void return; } + /* no arguments? display dashboard */ + if (count($argv) == 0) + { + require "view/dashboard.php"; + return; + } + /* TODO */ echo "logged in"; } -- cgit v1.2.3