改进Request类 filter属性的初始化

This commit is contained in:
thinkphp
2016-08-17 12:06:04 +08:00
parent f865efec65
commit e2e77b911d

View File

@@ -128,7 +128,9 @@ class Request
$this->$name = $item;
}
}
$this->filter = Config::get('default_filter');
if (is_null($this->filter)) {
$this->filter = Config::get('default_filter');
}
}
public function __call($method, $args)