Skip to content

Commit

Permalink
修復省略logpath時報錯的問題
Browse files Browse the repository at this point in the history
  • Loading branch information
velade committed Jan 23, 2022
1 parent 80cf8a2 commit 0714b03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions velws.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class WSS
protected $sslcert = __DIR__ . '/cert/cert.pem';
protected $sslkey = __DIR__ . '/cert/key.pem';
protected $sslfullchain = '';
protected $version = "1.1";
protected $version = "1.2";
protected $logpath = '';

protected $server;
protected $ssl;
Expand Down Expand Up @@ -351,4 +352,4 @@ protected function conn(){
fwrite($this->sock,$this->headers);
fread($this->sock,2000);
}
}
}

0 comments on commit 0714b03

Please sign in to comment.