aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index 19774bb6..dd70a989 100644
--- a/index.php
+++ b/index.php
@@ -61,5 +61,8 @@ else {
61 $tpl_file = 'login.twig'; 61 $tpl_file = 'login.twig';
62} 62}
63 63
64# because messages can be added in $poche->action(), we have to add this entry now (we can add it before)
65$tpl_vars = array_merge($tpl_vars, array('messages' => $poche->messages->display()));
66
64# Aaaaaaand action ! 67# Aaaaaaand action !
65echo $poche->tpl->render($tpl_file, $tpl_vars); \ No newline at end of file 68echo $poche->tpl->render($tpl_file, $tpl_vars); \ No newline at end of file