统一方法名

This commit is contained in:
thinkphp
2016-04-24 14:34:08 +08:00
parent f40fb831f4
commit a5b242b2c2
2 changed files with 4 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ class Think
}
// 记录视图信息
APP_DEBUG && Log::record('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]', 'info');
$this->template->display($template, $data, $config);
$this->template->fetch($template, $data, $config);
}
/**
@@ -70,7 +70,7 @@ class Think
*/
public function display($template, $data = [], $config = [])
{
$this->template->fetch($template, $data, $config);
$this->template->display($template, $data, $config);
}
/**