mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正渲染完整路径模板文件不存在的提示文件信息 fixed bug #253
This commit is contained in:
@@ -208,6 +208,9 @@ class View
|
||||
if (is_file($template)) {
|
||||
return realpath($template);
|
||||
}
|
||||
if (strpos($template, $this->config['view_suffix'])) {
|
||||
return $template;
|
||||
}
|
||||
$depr = $this->config['view_depr'];
|
||||
$template = str_replace(['/', ':'], $depr, $template);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user