summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index 8f41ce65b..c08767e52 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.'/';
}
/**
@@ -290,6 +290,7 @@ function tpl_metaheaders($alt = true) {
global $QUERY;
global $lang;
global $conf;
+ global $updateVersion;
// prepare the head array
$head = array();