X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=ctdlphp%2Fsessionproxy.php;h=22f4d4a0eddc1272e5e210b17088de6b85c2bc6e;hb=fa2dd842abb5feedea3e2253255722fcaecc3c6f;hp=fdb7b699dfbfe98dd4c68dc31b1d74ca63706903;hpb=9205901a46cffb2b291a8ec5b24e1afaed2080b9;p=citadel.git diff --git a/ctdlphp/sessionproxy.php b/ctdlphp/sessionproxy.php index fdb7b699d..22f4d4a0e 100755 --- a/ctdlphp/sessionproxy.php +++ b/ctdlphp/sessionproxy.php @@ -14,10 +14,10 @@ include "config_ctdlclient.php"; // Copyright (c) 2003 by Art Cancro // This program is released under the terms of the GNU General Public License. +global $msgsock; // sock_gets() -- reads one line of text from a socket // -$msgsock; if (CITADEL_DEBUG_PROXY) { define_syslog_variables(); @@ -96,7 +96,7 @@ chmod($sockname, 0600); // We need to get a connection to the Citadel server going now. -$ctdlsock = fsockopen(SOCKET_PREFIX.CITADEL_HOSTNAME, CITADEL_TCP_PORTNO, $errno, $errstr, 30); +$ctdlsock = fsockopen(CITADEL_HOSTNAME, CITADEL_TCP_PORTNO, $errno, $errstr, 30); if (!$ctdlsock) { socket_close ($sock); system("/bin/rm -f " . $sockname);