Commit 827fed1c authored by Richard Mansfield's avatar Richard Mansfield Committed by Gerrit Code Review
Browse files

Merge "Allow custom templates to be added to all themes (bug #898437)"

parents 38d9b941 2ab3ed09
......@@ -745,6 +745,8 @@ class Theme {
$this->templatedirs[] = get_config('docroot') . 'theme/' . $this->basename . '/templates/';
$this->inheritance[] = $this->basename;
$this->templatedirs[] = get_config('docroot') . 'local/theme/templates/';
// Now go through the theme hierarchy assigning variables from the
// parent themes
$currenttheme = $this->basename;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment