From: Vincent Zanotti Date: Sun, 20 Jul 2008 21:06:30 +0000 (+0200) Subject: Fixes the logger instantation in plat/al-xorg (will now be properly instantiated... X-Git-Tag: xorg/0.10.0~163 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=e4501b5162ac1c70590205cc038db5d4b8188265;p=platal.git Fixes the logger instantation in plat/al-xorg (will now be properly instantiated even when used directly from XorgSession::startSessionAs). Signed-off-by: Vincent Zanotti --- diff --git a/classes/xorgsession.php b/classes/xorgsession.php index 49481d6..14a7c81 100644 --- a/classes/xorgsession.php +++ b/classes/xorgsession.php @@ -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 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit ddeb5f8915f2aed8877689b0db19a63791c4e57d +Subproject commit 38b7dbd95e5d725eb2b7b34a6a8fe5e0c84073f0