IPC and peer fixes
This commit is contained in:
parent
ba59131926
commit
b22a193014
@ -42,7 +42,7 @@ final class WebRunner extends RunnerAbstract
|
||||
}
|
||||
$rootDir = \dirname($rootDir).DIRECTORY_SEPARATOR;
|
||||
$uriDir = \dirname($uri);
|
||||
if ($uriDir !== '/') {
|
||||
if ($uriDir !== '/' && $uriDir !== '\\') {
|
||||
$uriDir .= DIRECTORY_SEPARATOR;
|
||||
}
|
||||
|
||||
|
@ -211,7 +211,7 @@ trait PeerHandler
|
||||
}
|
||||
}
|
||||
|
||||
private function cacheChatUsername(int $id, array $chat): void
|
||||
private function cacheChatUsername($id, array $chat): void
|
||||
{
|
||||
if ($id && !empty($chat['username'])) {
|
||||
$this->usernames[\strtolower($chat['username'])] = $id;
|
||||
|
Loading…
Reference in New Issue
Block a user