1<?php 2/** 3 * DokuWiki Congrid Template: Setup/Initialization 4 * 5 * @author LarsDW223 6 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 7 */ 8 9// must be run from within DokuWiki 10if (!defined('DOKU_INC')) die(); 11 12global $INFO; 13global $INPUT; 14 15// Get the template info (useful for debug) 16if ($INFO['isadmin'] && $INPUT->str('do') && $INPUT->str('do') == 'check') { 17 $template_info = confToHash(dirname(__FILE__).'/template.info.txt'); 18 msg('Congrid-Template version: v' . $template_info['date'], 1, '', '', MSG_ADMINS_ONLY); 19} 20