diff options
author | Michael Hamann <michael@content-space.de> | 2013-09-17 16:45:51 +0200 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2013-09-17 16:47:12 +0200 |
commit | dcd4911e24c6e01c3b83310ecf90ee7c01ed7ad4 (patch) | |
tree | ea50d6a2faa6cdf712f0a0c6601c92ad95818084 | |
parent | 5f13b0e65f5100f4ccc5f32cfd6c0ec0edf42e18 (diff) | |
download | rpg-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.
-rw-r--r-- | inc/template.php | 2 |
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.'/'; } /** |