Skip to content
Snippets Groups Projects
Commit dcd4911e authored by Michael Hamann's avatar Michael Hamann
Browse files

Fix tpl_basedir to use the supplied template

Previously only the path for the configured template was returned and
the parameter was ignored.
parent 5f13b0e6
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ function tpl_incdir($tpl='') {
function tpl_basedir($tpl='') {
global $conf;
if(!$tpl) $tpl = $conf['template'];
return DOKU_BASE.'lib/tpl/'.$conf['template'].'/';
return DOKU_BASE.'lib/tpl/'.$tpl.'/';
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment