<?php
// +----------------------------------------------------------------------
// | wuzhicms [ 五指互联网站内容管理系统 ]
// | Copyright (c) 2014-2015 http://www.wuzhicms.com All rights reserved.
// | Licensed ( http://www.wuzhicms.com/licenses/ )
// | Author: wangcanjia <phpip@qq.com>
// +----------------------------------------------------------------------
defined('IN_WZ') or exit('No direct script access allowed');
/**
 * 模版缓存生成
 */
//Example: php /workspace/wwwroot/dev.phpip.cn/src/coreframe/crontab.php core cache_template
$c_template = load_class('template');
$dirs = COREFRAME_ROOT."templates";
$c_template->cache_dir_template($dirs);
exit("All template cache OK\r\n");