diff options
author | VirtualTam <virtualtam@flibidi.net> | 2016-08-07 00:29:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-07 00:29:08 +0200 |
commit | 65b2c795d00f638d6ca08519e1435efd989c8117 (patch) | |
tree | eef6bbfb6b39c9764972aac8f9d12af50c43c574 /application | |
parent | 83dbc41a77d36c57dfc4abdfcac98e27e8d49edd (diff) | |
parent | fd5ac47ea27353e641a521b5e1867bfd20ff0512 (diff) | |
download | Shaarli-65b2c795d00f638d6ca08519e1435efd989c8117.tar.gz Shaarli-65b2c795d00f638d6ca08519e1435efd989c8117.tar.zst Shaarli-65b2c795d00f638d6ca08519e1435efd989c8117.zip |
Merge pull request #625 from ArthurHoaro/token
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 | } |