修正模板文件

This commit is contained in:
thinkphp
2016-03-16 12:40:29 +08:00
parent 4d03109427
commit 380ae28021
4 changed files with 24 additions and 8 deletions

View File

@@ -260,7 +260,7 @@ class View
$template = str_replace('.', DS, CONTROLLER_NAME) . $depr . $template;
}
}
return $path . $template . $this->config['view_suffix'];
return realpath($path) . DS . $template . $this->config['view_suffix'];
}
/**