diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 7ea701bf00b..b55d412f7b0 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -81,6 +81,8 @@ class renderer_base { global $CFG; if ($this->mustache === null) { + require_once("{$CFG->libdir}/filelib.php"); + $themename = $this->page->theme->name; $themerev = theme_get_revision();