From 86ee1795fcba6c86956b02a1b6beaad8dca63407 Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Fri, 3 Dec 2004 18:23:37 +0000 Subject: [PATCH] oups git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-39 --- include/lists.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.1.4