aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/PageBuilder.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-08-06 14:09:26 +0200
committerArthurHoaro <arthur@hoa.ro>2016-08-06 14:09:26 +0200
commitfd5ac47ea27353e641a521b5e1867bfd20ff0512 (patch)
tree9c44157458e9c3de949942ffe82f268113337be7 /application/PageBuilder.php
parentc7a42ab1d9b21bf53cd30bc57b57789716c8711b (diff)
downloadShaarli-fd5ac47ea27353e641a521b5e1867bfd20ff0512.tar.gz
Shaarli-fd5ac47ea27353e641a521b5e1867bfd20ff0512.tar.zst
Shaarli-fd5ac47ea27353e641a521b5e1867bfd20ff0512.zip
Generate a token for every pages
Diffstat (limited to 'application/PageBuilder.php')
-rw-r--r--application/PageBuilder.php1
1 files changed, 1 insertions, 0 deletions
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
80 if (!empty($GLOBALS['plugin_errors'])) { 80 if (!empty($GLOBALS['plugin_errors'])) {
81 $this->tpl->assign('plugin_errors', $GLOBALS['plugin_errors']); 81 $this->tpl->assign('plugin_errors', $GLOBALS['plugin_errors']);
82 } 82 }
83 $this->tpl->assign('token', getToken($this->conf));
83 // To be removed with a proper theme configuration. 84 // To be removed with a proper theme configuration.
84 $this->tpl->assign('conf', $this->conf); 85 $this->tpl->assign('conf', $this->conf);
85 } 86 }