[Commits] r656 - trunk/webinterface/mods/user/control

new-commit at lists.openvcp.org new-commit at lists.openvcp.org
Mon Feb 23 14:31:52 UTC 2009


Author: cryptronic
Date: 2009-02-23 14:31:51 +0000 (Mon, 23 Feb 2009)
New Revision: 656

Modified:
   trunk/webinterface/mods/user/control/main.php
Log:
small bugfix


Modified: trunk/webinterface/mods/user/control/main.php
===================================================================
--- trunk/webinterface/mods/user/control/main.php	2009-02-20 21:26:03 UTC (rev 655)
+++ trunk/webinterface/mods/user/control/main.php	2009-02-23 14:31:51 UTC (rev 656)
@@ -272,6 +272,13 @@
 		$GUI->p(_("sorry this vserver is disabled"));
 		exit();
 	}
+	
+	$state = $vserver->getFullState();
+	if($state[1] == "rescue")
+	{
+		$GUI->p(_("sorry vserver is in rescue mode reinstall not supported").".");
+		exit();
+	}	
 
 	if(($oslist = $CUSTOMER->getImages()) == null)
 	{



More information about the Commits mailing list