From 031641f9d06272b158ada028872c6e0e4d13ca70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Serman?= Date: Sun, 21 Apr 2013 09:53:34 +0000 Subject: [PATCH] updated include file --- bureau/class/m_lxc.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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";