mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正PDO参数绑定的一处BUG
This commit is contained in:
@@ -178,11 +178,6 @@ class View
|
||||
$replace = $this->config['parse_str'];
|
||||
$content = str_replace(array_keys($replace), array_values($replace), $content);
|
||||
}
|
||||
if (APP_DEBUG && $this->config['parse_var']) {
|
||||
// debug模式时,将后台分配变量输出到浏览器控制台
|
||||
$parseVar = empty($vars) ? json_encode([]) : json_encode($vars);
|
||||
$content .= '<script type="text/javascript">var __VAR__ = ' . $parseVar . ';</script>';
|
||||
}
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user