diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-08-03 23:34:20 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-08-03 23:34:20 +0200 |
commit | 99dca51357b98d8450d43d66b5596504722809c0 (patch) | |
tree | 3a6565dfcc9289e84204356e99de5f48371532d3 | |
parent | b6c97c7072748fa573d54a91c1be14e496fd9990 (diff) | |
download | rpg-99dca51357b98d8450d43d66b5596504722809c0.tar.gz rpg-99dca51357b98d8450d43d66b5596504722809c0.tar.bz2 |
added missing default
-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 f6eb488f5..ea73b01b6 100644 --- a/inc/template.php +++ b/inc/template.php @@ -51,7 +51,7 @@ function tpl_incdir($tpl='') { * @param string $tpl The template to use, default to current one * @return string */ -function tpl_basedir($tpl) { +function tpl_basedir($tpl='') { global $conf; if(!$tpl) $tpl = $conf['template']; return DOKU_BASE.'lib/tpl/'.$conf['template'].'/'; |