aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-05 15:54:37 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-05 15:54:37 +0200
commit55821e04c188997d258645975220828e195d0df4 (patch)
tree9a85831aa55c35c2fa69122220f7c873d73a9143 /index.php
parentb161295d0b53a5ae194e236b0a7c662e9ac2ff9a (diff)
downloadwallabag-55821e04c188997d258645975220828e195d0df4.tar.gz
wallabag-55821e04c188997d258645975220828e195d0df4.tar.zst
wallabag-55821e04c188997d258645975220828e195d0df4.zip
share email +twitter / class messages
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