From: x2000habouzit Date: Mon, 24 Jul 2006 09:58:57 +0000 (+0000) Subject: fix auth problem X-Git-Tag: xorg/0.9.11~284 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=fd834b4b349e02bdedb8ed8c7a1392dccb0d4da8;p=platal.git fix auth problem git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@622 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/include/xnet/session.inc.php b/include/xnet/session.inc.php index d146084..147fab8 100644 --- a/include/xnet/session.inc.php +++ b/include/xnet/session.inc.php @@ -100,16 +100,16 @@ class XnetSession S::kill('loginX'); Get::kill('auth'); Get::kill('uid'); - $args = array(); $path = Get::v('p'); Get::kill('p'); Get::kill('PHPSESSID'); + $args = array(); foreach($_GET as $key => $val) { $args[] = urlencode($key).'='.urlencode($val); } - pl_redirect($path, join('&', $args)); + http_redirect($globals->baseurl . '/' . $path, join('&', $args)); } // }}}