diff --git a/bureau/class/m_lxc.php b/bureau/class/m_lxc.php index 8f551d12..994387c7 100644 --- a/bureau/class/m_lxc.php +++ b/bureau/class/m_lxc.php @@ -1,11 +1,10 @@ sendMessage('start', 'fser', 'pass', 42); + global $mem; + + $user = $login ? $login : $mem->user['login']; + $pass = $pass ? $pass : $mem->user['pass']; + $uid = $uid ? $uid : $mem->user['uid']; + + $res = $this->sendMessage('start', $user, $pass, $uid); if ($res === FALSE) return $this->error[0]; else return $res; } + public function monit() { echo "1 / 5 used";