diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 ! |
65 | echo $poche->tpl->render($tpl_file, $tpl_vars); \ No newline at end of file | 68 | echo $poche->tpl->render($tpl_file, $tpl_vars); \ No newline at end of file |