From 75b14482064ceb8495221b07b8991b787f520dad Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Mon, 30 Jan 2012 20:42:59 +0100
Subject: [PATCH] added missing global statements

tss..
---
 inc/template.php | 2 ++
 1 file changed, 2 insertions(+)

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'].'/';
 }
 
-- 
GitLab