www.gusucode.com > 74cms 骑士PHP人才系统 V3.4源码程序 > code/upload/include/template_lite/plugins/compiler.tplheader.php
<?php /* * Template Lite plugin * ------------------------------------------------------------- * File: compiler.tplheader.php * Type: compiler * Name: tplheader * Purpose: Output header containing the source file name and * the time it was compiled. * ------------------------------------------------------------- */ function tpl_compiler_tplheader($arguments, &$tpl) { return "\necho '" . $tpl->_file . " compiled at " . date('Y-m-d H:M'). "';"; } ?>