From b302c77c74a09cb271b711248b8f433555524ef0 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 15 Jun 2016 18:22:19 +0200 Subject: Pass the configuration manager to templates --- application/PageBuilder.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'application/PageBuilder.php') 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 if (!empty($GLOBALS['plugin_errors'])) { $this->tpl->assign('plugin_errors', $GLOBALS['plugin_errors']); } + // To be removed with a proper theme configuration. + $this->tpl->assign('conf', $this->conf); } /** -- cgit v1.2.3