summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index b38753d..8e06975 100644
--- a/index.php
+++ b/index.php
@@ -106,6 +106,7 @@ User::load();
Render::addTemplate('main-menu', array(
'url' => urlencode($_SERVER['REQUEST_URI']),
'user' => User::getName(),
+ 'admin' => User::isAdmin(),
));
Message::renderList();