Fixes the logger instantation in plat/al-xorg (will now be properly instantiated...
authorVincent Zanotti <vincent.zanotti@polytechnique.org>
Sun, 20 Jul 2008 21:06:30 +0000 (23:06 +0200)
committerVincent Zanotti <vincent.zanotti@polytechnique.org>
Sun, 20 Jul 2008 21:09:53 +0000 (23:09 +0200)
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
classes/xorgsession.php
core

index 49481d6..14a7c81 100644 (file)
@@ -209,11 +209,11 @@ class XorgSession extends PlSession
         $suid = S::v('suid');
 
         if ($suid) {
-            $logger = S::logger();
+            $logger = S::logger($uid);
             $logger->log("suid_start", S::v('forlife')." by {$suid['uid']}");
             $sess['suid'] = $suid;
         } else {
-            $logger = S::logger();
+            $logger = S::logger($uid);
             //$logger->log("connexion", Env::v('n'));
             setcookie('ORGuid', $uid, (time() + 25920000), '/', '', 0);
             if (Post::v('remember', 'false') == 'true') {
diff --git a/core b/core
index ddeb5f8..38b7dbd 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit ddeb5f8915f2aed8877689b0db19a63791c4e57d
+Subproject commit 38b7dbd95e5d725eb2b7b34a6a8fe5e0c84073f0