From: Pierre Habouzit (MadCoder Date: Fri, 3 Dec 2004 18:23:37 +0000 (+0000) Subject: oups X-Git-Tag: xorg/old~703 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=86ee1795fcba6c86956b02a1b6beaad8dca63407;p=platal.git oups git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-39 --- diff --git a/include/lists.inc.php b/include/lists.inc.php index f986cbc..5111089 100644 --- a/include/lists.inc.php +++ b/include/lists.inc.php @@ -29,10 +29,10 @@ require_once("xml-rpc-client.inc.php"); function &lists_xmlrpc($uid, $pass, $fqdn=null) { global $globals; - + $dom = empty($fqdn) ? $globals->mail->domain : $fqdn; - $url = "http://$uid:$pass/{$globals->lists->rpchost}:{$globals->lists->rpcport}/$dom"; - $client = new xmlrpc_client("http://{$_SESSION['uid']}:{$_SESSION['password']}@localhost:4949/polytechnique.org"); + $url = "http://$uid:$pass@{$globals->lists->rpchost}:{$globals->lists->rpcport}/$dom"; + $client = new xmlrpc_client($url); return $client; }