Subversion-Projekte lars-tiefland.openvz_admin

Revision

Revision 133 | Revision 140 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 133 Revision 134
Zeile 1... Zeile 1...
1
<?php
1
<?php
2
	//$Id: vServer.class.php 133 2008-05-22 16:48:38Z lars $
2
	//$Id: vServer.class.php 134 2008-05-22 16:53:46Z lars $
3
	/**
3
	/**
4
	 * 	@package	openvz_admin
4
	 * 	@package	openvz_admin
5
	 * 	@author		Lars Tiefland <ltiefland@gmail.com> 
5
	 * 	@author		Lars Tiefland <ltiefland@gmail.com> 
6
	 **/
6
	 **/
7
	class vServer
7
	class vServer
Zeile 71... Zeile 71...
71
				}
71
				}
72
				else
72
				else
73
				{
73
				{
74
					$id=$this->v_id;
74
					$id=$this->v_id;
75
					$hn=HN::getHN($this->hn_id);
75
					$hn=HN::getHN($this->hn_id);
76
					$hn_status=$hn->status;
76
					$hn_status=$hn["status"];
77
					$out_v["status"]="Hardware node is $hn_status";
77
					$out_v["status"]="Hardware node is $hn_status";
78
					if($hn_status=="online")
78
					if($hn_status=="online")
79
					{
79
					{
80
						$out_v["code"]=0;
80
						$out_v["code"]=0;
81
					}
81
					}