改进App、Error和View类

改进Log类 简化驱动类的定义
This commit is contained in:
thinkphp
2013-04-02 17:46:26 +08:00
parent 083b312c96
commit 64c976e11d
5 changed files with 79 additions and 86 deletions

View File

@@ -63,7 +63,7 @@ class View {
* @param boolean $return 是否返回
* @return mixed
*/
public function display($template='',$vars=[],$cacheId,$return=false) {
public function display($template='',$vars=[],$cacheId='',$return=false) {
Tag::listen('view_begin',$template);
// 解析并获取模板内容
$content = $this->fetch($template,$vars,$cacheId);