summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2005-07-29 18:30:01 +0200
committerAndreas Gohr <andi@splitbrain.org>2005-07-29 18:30:01 +0200
commit5a8920295cb951493bf3aeae56a021204bfe6d36 (patch)
treee3f78d8491e3fb1340b5d2c7b295fa7ce2d04e04 /inc/actions.php
parent424c3c4f29261765eec496ad226297815d75f4c1 (diff)
downloadrpg-5a8920295cb951493bf3aeae56a021204bfe6d36.tar.gz
rpg-5a8920295cb951493bf3aeae56a021204bfe6d36.tar.bz2
fallback to default template if custom one is not available
darcs-hash:20050729163001-7ad00-24d0768ecd593ab85fda0e3c5fbdbec0e8ff3276.gz
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/actions.php b/inc/actions.php
index a4e087f3a..f6c00f14a 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -74,7 +74,7 @@ function act_dispatch(){
//call template FIXME: all needed vars available?
header('Content-Type: text/html; charset=utf-8');
- include(DOKU_INC.'lib/tpl/'.$conf['template'].'/main.php');
+ include(template('main.php'));
// output for the commands is now handled in inc/templates.php
// in function tpl_content()
}