mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 21:41:36 +08:00
修正空控制器名称和关键字冲突的问题
空控制器默认改为 Error 并且可以自定义 通过修改 empty_controller 参数
This commit is contained in:
@@ -105,7 +105,7 @@ class View {
|
||||
* @param string $cache_id 模板缓存标识
|
||||
* @return string
|
||||
*/
|
||||
public function fetch($template, $vars = [], $cache_id='',$renderContent=false) {
|
||||
public function fetch($template='', $vars = [], $cache_id='',$renderContent=false) {
|
||||
if(!$renderContent){
|
||||
// 获取模板文件名
|
||||
$template = $this->parseTemplate($template);
|
||||
|
||||
Reference in New Issue
Block a user