1<?php 2/** 3 * Template Functions 4 * 5 */ 6 7// must be run from within DokuWiki 8if (!defined('DOKU_INC')) die(); 9 10/** 11 * simplified tpl_includeFile() for older DokuWiki versions 12 */ 13if (!function_exists('tpl_includeFile')) { 14 function tpl_includeFile($file) { 15 @include(dirname(__FILE__).'/'.$file); 16 17 } 18} 19 20/** 21 * simplified tpl_favicon() for older DokuWiki versions 22 */ 23if (!function_exists('tpl_favicon')) { 24 function tpl_favicon() { 25 return '<link rel="shortcut icon" href="'.DOKU_TPL.'images/favicon.ico" />'; 26 } 27} 28