<?php /** * Twango * @see http://0-oo.net/sbox/php-tool-box/template-like-twig * @copyright 2010 dgbadmin@gmail.com * @license http://0-oo.net/pryn/MIT_license.txt (The MIT license) */ function twango($path, $tplValues = array(), $cacheDir = '.') { $cachePath = "$cacheDir/" . str_replace('/', '._', $path) . '.cache.php'; //テンプレート更新チェック if (!file_exists($cachePath) || filemtime($cachePath) < filemt