修正socket日志驱动

This commit is contained in:
thinkphp
2016-01-15 11:05:07 +08:00
parent b2c6a13316
commit 60299dd40c

View File

@@ -136,7 +136,7 @@ class Socket
$this->send($this->config['host'], $msg, $address);
}
protected static function check()
protected function check()
{
if (!$this->config['enable']) {
return false;