修正V函数

This commit is contained in:
thinkphp
2016-01-28 11:48:34 +08:00
parent 1aac6232a7
commit 2006fc32eb

View File

@@ -290,5 +290,5 @@ function trace($log = '[think]', $level = 'log')
*/
function V($template, $vars)
{
return \think\View::instance(Config::get())->fetch($template, $vars);
return \think\View::instance(\think\Config::get())->fetch($template, $vars);
}