fix auth problem
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 24 Jul 2006 09:58:57 +0000 (09:58 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 24 Jul 2006 09:58:57 +0000 (09:58 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@622 839d8a87-29fc-0310-9880-83ba4fa771e5

include/xnet/session.inc.php

index d146084..147fab8 100644 (file)
@@ -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));
     }
 
     // }}}