mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
强化日志信息 仅调试模式下有效 Input类的方法支持 判断一个变量是否存在
This commit is contained in:
@@ -160,7 +160,7 @@ class View
|
||||
throw new Exception('template file not exists:' . $template, 10700);
|
||||
}
|
||||
// 记录视图信息
|
||||
Log::record('[ VIEW ] ' . $template . ' [ VARS : ' . var_export($vars, true) . ' ]', 'info');
|
||||
APP_DEBUG && Log::record('[ VIEW ] ' . $template . ' [ ' . var_export($vars, true) . ' ]', 'info');
|
||||
}
|
||||
// 页面缓存
|
||||
ob_start();
|
||||
|
||||
Reference in New Issue
Block a user