mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
"Fixed" issue that was causing problems some time ago with server
git-svn-id: file:///svn/phpbb/trunk@4786 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
06c37481cc
commit
e2862f3ebd
1 changed files with 1 additions and 2 deletions
|
@ -180,7 +180,6 @@ class Jabber
|
||||||
function SendAuth()
|
function SendAuth()
|
||||||
{
|
{
|
||||||
$this->auth_id = 'auth_' . md5(time() . $_SERVER['REMOTE_ADDR']);
|
$this->auth_id = 'auth_' . md5(time() . $_SERVER['REMOTE_ADDR']);
|
||||||
|
|
||||||
$this->jid = "{$this->username}@{$this->server}/{$this->resource}";
|
$this->jid = "{$this->username}@{$this->server}/{$this->resource}";
|
||||||
|
|
||||||
// request available authentication methods
|
// request available authentication methods
|
||||||
|
@ -1071,7 +1070,7 @@ class CJP_StandardConnector
|
||||||
|
|
||||||
function ReadFromSocket($chunksize)
|
function ReadFromSocket($chunksize)
|
||||||
{
|
{
|
||||||
$buffer = @fread($this->active_socket, $chunksize);
|
$buffer = stripslashes(@fread($this->active_socket, $chunksize));
|
||||||
@set_magic_quotes_runtime(get_magic_quotes_gpc());
|
@set_magic_quotes_runtime(get_magic_quotes_gpc());
|
||||||
|
|
||||||
return $buffer;
|
return $buffer;
|
||||||
|
|
Loading…
Add table
Reference in a new issue