diff options
author | Malf Furious <m@lfurio.us> | 2018-07-19 02:45:43 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2018-07-19 02:45:43 -0400 |
commit | 36a565c0713a68c758768190d3d336873611775b (patch) | |
tree | 980e599d7fc3a932ac93e2d8b18843fddf6ee201 /app/index.php | |
parent | ddf56f3ccf8130d6c368fb50c9b58c19032eaeb7 (diff) | |
download | scrott-36a565c0713a68c758768190d3d336873611775b.tar.gz scrott-36a565c0713a68c758768190d3d336873611775b.zip |
Add basic dashboard page
Diffstat (limited to 'app/index.php')
-rw-r--r-- | app/index.php | 7 |
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"; } |