summaryrefslogtreecommitdiffstats
path: root/app/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/index.php')
-rw-r--r--app/index.php7
1 files changed, 7 insertions, 0 deletions
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";
}