summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-09-17 16:45:51 +0200
committerMichael Hamann <michael@content-space.de>2013-09-17 16:47:12 +0200
commitdcd4911e24c6e01c3b83310ecf90ee7c01ed7ad4 (patch)
treeea50d6a2faa6cdf712f0a0c6601c92ad95818084 /inc
parent5f13b0e65f5100f4ccc5f32cfd6c0ec0edf42e18 (diff)
downloadrpg-dcd4911e24c6e01c3b83310ecf90ee7c01ed7ad4.tar.gz
rpg-dcd4911e24c6e01c3b83310ecf90ee7c01ed7ad4.tar.bz2
Fix tpl_basedir to use the supplied template
Previously only the path for the configured template was returned and the parameter was ignored.
Diffstat (limited to 'inc')
-rw-r--r--inc/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index 8f41ce65b..6eadd37e6 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -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.'/';
}
/**