|
|
@@ -123,7 +123,7 @@ class GateWay
|
|
|
$pack->header['uid'] = empty($uid) ? 0 : $uid;
|
|
|
$pack->body = (string)$message;
|
|
|
|
|
|
- return self::sendToGateway("{Context::$protocol}://{$pack->header['local_ip']}:{$pack->header['local_port']}", $pack->getBuffer());
|
|
|
+ return self::sendToGateway(Context::$protocol."://{$pack->header['local_ip']}:{$pack->header['local_port']}", $pack->getBuffer());
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -151,7 +151,7 @@ class GateWay
|
|
|
$pack->header['uid'] = $uid ? $uid : 0;
|
|
|
$pack->body = (string)$message;
|
|
|
|
|
|
- return self::sendToGateway("{Context::$protocol}://{$pack->header['local_ip']}:{$pack->header['local_port']}", $pack->getBuffer());
|
|
|
+ return self::sendToGateway(Context::$protocol."://{$pack->header['local_ip']}:{$pack->header['local_port']}", $pack->getBuffer());
|
|
|
}
|
|
|
|
|
|
/**
|