This commit is contained in:
thinkphp
2018-09-21 18:12:30 +08:00
parent aeab3965f2
commit 898fe001c2
2 changed files with 1 additions and 3 deletions

View File

@@ -29,8 +29,6 @@ class File
'json' => false,
];
protected $writed = [];
// 实例化并传入参数
public function __construct($config = [])
{

View File

@@ -60,7 +60,7 @@ class Socket
* @param array $log 日志信息
* @return bool
*/
public function save(array $log = [])
public function save(array $log = [], $append = false)
{
if (!$this->check()) {
return false;