diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-06-15 18:22:19 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-06-15 18:22:19 +0200 |
commit | b302c77c74a09cb271b711248b8f433555524ef0 (patch) | |
tree | 4eef4da24d85178697ed18c1cdc63982abd7632d | |
parent | 894a3c4bf38d8dcadb6941049b9167e5101805bd (diff) | |
download | Shaarli-b302c77c74a09cb271b711248b8f433555524ef0.tar.gz Shaarli-b302c77c74a09cb271b711248b8f433555524ef0.tar.zst Shaarli-b302c77c74a09cb271b711248b8f433555524ef0.zip |
Pass the configuration manager to templates
-rw-r--r-- | application/PageBuilder.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/PageBuilder.php b/application/PageBuilder.php index 88dbfa8a..7cd88370 100644 --- a/application/PageBuilder.php +++ b/application/PageBuilder.php | |||
@@ -86,6 +86,8 @@ class PageBuilder | |||
86 | if (!empty($GLOBALS['plugin_errors'])) { | 86 | if (!empty($GLOBALS['plugin_errors'])) { |
87 | $this->tpl->assign('plugin_errors', $GLOBALS['plugin_errors']); | 87 | $this->tpl->assign('plugin_errors', $GLOBALS['plugin_errors']); |
88 | } | 88 | } |
89 | // To be removed with a proper theme configuration. | ||
90 | $this->tpl->assign('conf', $this->conf); | ||
89 | } | 91 | } |
90 | 92 | ||
91 | /** | 93 | /** |