]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Pass the configuration manager to templates
authorArthurHoaro <arthur@hoa.ro>
Wed, 15 Jun 2016 16:22:19 +0000 (18:22 +0200)
committerArthurHoaro <arthur@hoa.ro>
Wed, 15 Jun 2016 16:22:19 +0000 (18:22 +0200)
application/PageBuilder.php

index 88dbfa8a4db669e02b507b0dc76bee3634107840..7cd883703eb453b54a1e94c9e5d9ccd11f7e51b5 100644 (file)
@@ -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);
     }
 
     /**