1<?php
2/*
3 * Template Lite plugin
4 * -------------------------------------------------------------
5 * File:     compiler.tplheader.php
6 * Type:     compiler
7 * Name:     tplheader
8 * Purpose:  Output header containing the source file name and
9 *           the time it was compiled.
10 * -------------------------------------------------------------
11 */
12function tpl_compiler_tplheader($arguments, &$tpl)
13{
14    return "\necho '" . $tpl->_file . " compiled at " . date('Y-m-d H:M'). "';";
15}
16?>