mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进
This commit is contained in:
@@ -29,8 +29,6 @@ class File
|
||||
'json' => false,
|
||||
];
|
||||
|
||||
protected $writed = [];
|
||||
|
||||
// 实例化并传入参数
|
||||
public function __construct($config = [])
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user