This commit is contained in:
thinkphp
2016-04-18 10:58:20 +08:00
parent 289f2e7741
commit 2a09d8d8db
3 changed files with 5 additions and 5 deletions

View File

@@ -181,7 +181,7 @@ class View
throw new Exception('template file not exists:' . $template, 10700);
}
// 记录视图信息
APP_DEBUG && Log::record('[ VIEW ] ' . $template . ' [ ' . var_export($vars, true) . ' ]', 'info');
APP_DEBUG && Log::record('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($vars), true) . ' ]', 'info');
}
if (is_null($this->engine)) {
// 初始化模板引擎