修正View类模板定位

This commit is contained in:
thinkphp
2016-03-15 22:02:38 +08:00
parent 041a5083d3
commit 14d692dfcd

View File

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