summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-01-30 20:42:59 +0100
committerAndreas Gohr <andi@splitbrain.org>2012-01-30 20:42:59 +0100
commit75b14482064ceb8495221b07b8991b787f520dad (patch)
treeb475af219ff3da6d66da0739e518dabda6d345dd /inc/template.php
parentc4766956646b53ab644ec6ddbd17d9cba07cf872 (diff)
downloadrpg-75b14482064ceb8495221b07b8991b787f520dad.tar.gz
rpg-75b14482064ceb8495221b07b8991b787f520dad.tar.bz2
added missing global statements
tss..
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/template.php b/inc/template.php
index 28a6a387e..c23fd14c1 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -32,6 +32,7 @@ function template($tpl){
* @author Andreas Gohr <andi@splitbrain.org>
*/
function tpl_incdir(){
+ global $conf;
return DOKU_INC.'lib/tpl/'.$conf['template'].'/';
}
@@ -43,6 +44,7 @@ function tpl_incdir(){
* @author Andreas Gohr <andi@splitbrain.org>
*/
function tpl_basedir(){
+ global $conf;
return DOKU_BASE.'lib/tpl/'.$conf['template'].'/';
}