X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=ctdlphp%2Fsessionproxy.php;h=22f4d4a0eddc1272e5e210b17088de6b85c2bc6e;hb=0cc5b6dfb371e675478f709e340ef6a4bf42e62e;hp=fdb7b699dfbfe98dd4c68dc31b1d74ca63706903;hpb=d9b7bce771bf2b90821d18030577668036216990;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);