diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-08-06 14:09:26 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-08-06 14:09:26 +0200 |
commit | fd5ac47ea27353e641a521b5e1867bfd20ff0512 (patch) | |
tree | 9c44157458e9c3de949942ffe82f268113337be7 /application | |
parent | c7a42ab1d9b21bf53cd30bc57b57789716c8711b (diff) | |
download | Shaarli-fd5ac47ea27353e641a521b5e1867bfd20ff0512.tar.gz Shaarli-fd5ac47ea27353e641a521b5e1867bfd20ff0512.tar.zst Shaarli-fd5ac47ea27353e641a521b5e1867bfd20ff0512.zip |
Generate a token for every pages
Diffstat (limited to 'application')
-rw-r--r-- | application/PageBuilder.php | 1 |
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 | } |