summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-04-07 20:21:06 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-04-07 20:21:06 +0200
commit0bf9967d124e9bd2b91b4f580ac99e1e981e36b9 (patch)
tree904fe9e299d7ab69bf10f08d62f4e21187c35271 /lib
parente5d4768d27336a3af2fc36af663d21a1a57d0ee1 (diff)
downloadrpg-0bf9967d124e9bd2b91b4f580ac99e1e981e36b9.tar.gz
rpg-0bf9967d124e9bd2b91b4f580ac99e1e981e36b9.tar.bz2
removed obsolete template file
Diffstat (limited to 'lib')
-rw-r--r--lib/tpl/dokuwiki/tpl_functions.php30
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/tpl/dokuwiki/tpl_functions.php b/lib/tpl/dokuwiki/tpl_functions.php
deleted file mode 100644
index c024f33e7..000000000
--- a/lib/tpl/dokuwiki/tpl_functions.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-/**
- * Template Functions
- *
- * This file provides template specific custom functions that are
- * not provided by the DokuWiki core.
- * It is common practice to start each function with an underscore
- * to make sure it won't interfere with future core functions.
- */
-
-// must be run from within DokuWiki
-if (!defined('DOKU_INC')) die();
-
-/* @todo: add this function to the core and delete this file */
-
-/**
- * Include additional html file from conf directory if it exists, otherwise use
- * file in the template's root directory.
- *
- * @author Anika Henke <anika@selfthinker.org>
- */
-function _tpl_include($fn) {
- $confFile = DOKU_CONF.$fn;
- $tplFile = dirname(__FILE__).'/'.$fn;
-
- if (file_exists($confFile))
- include($confFile);
- else if (file_exists($tplFile))
- include($tplFile);
-}