From fd5ac47ea27353e641a521b5e1867bfd20ff0512 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 6 Aug 2016 14:09:26 +0200 Subject: Generate a token for every pages --- application/PageBuilder.php | 1 + 1 file changed, 1 insertion(+) (limited to 'application') diff --git a/application/PageBuilder.php b/application/PageBuilder.php index 1ca0260a..42932f32 100644 --- a/application/PageBuilder.php +++ b/application/PageBuilder.php @@ -80,6 +80,7 @@ class PageBuilder if (!empty($GLOBALS['plugin_errors'])) { $this->tpl->assign('plugin_errors', $GLOBALS['plugin_errors']); } + $this->tpl->assign('token', getToken($this->conf)); // To be removed with a proper theme configuration. $this->tpl->assign('conf', $this->conf); } -- cgit v1.2.3