From b302c77c74a09cb271b711248b8f433555524ef0 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 15 Jun 2016 18:22:19 +0200 Subject: [PATCH] Pass the configuration manager to templates --- application/PageBuilder.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/PageBuilder.php b/application/PageBuilder.php index 88dbfa8..7cd8837 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); } /**