Cleaned up the config interface.
[citadel.git] / ctdlphp / ctdlsession.php
index 988839cc885286be72454637a97b9aa0c5a416f7..672d6f636aa7f23fabd87f2d0ef5054072a79461 100644 (file)
@@ -35,7 +35,7 @@ function establish_citadel_session() {
 
        $sockname = "/tmp/" . $session . ".socket" ;
 
-       $clientsocket = fsockopen(SOCKET_PREFIX.$sockname, 0, $errno, $errstr, 5);
+       $clientsocket = fsockopen('unix://' . $sockname, 0, $errno, $errstr, 5);
        if (!$clientsocket) {
                // It ain't there, dude.  Open up the proxy. (C version)
                //$cmd = "./sessionproxy " . $sockname ;