summaryrefslogtreecommitdiffstats
path: root/app/index.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/index.php b/app/index.php
index 63ad931..b0b191f 100644
--- a/app/index.php
+++ b/app/index.php
@@ -42,10 +42,11 @@ function main(array $argv) : void
return;
}
+ setPageObj($user);
+
/* no arguments? display dashboard */
if (count($argv) == 0)
{
- setPageObj($user);
setPageName("<i>Dashboard</i>");
require "view/dashboard.php";
return;