diff options
| author | michael pereira | 2011-10-27 16:48:54 +0200 |
|---|---|---|
| committer | michael pereira | 2011-10-27 16:48:54 +0200 |
| commit | 7af05732e2f961c7bd764f35e825d3bd1dde0577 (patch) | |
| tree | 55fa3df10b11c741040c7f68b985afe132d1253e | |
| parent | session gc maxlifetime (diff) | |
| download | pbs2-7af05732e2f961c7bd764f35e825d3bd1dde0577.tar.gz pbs2-7af05732e2f961c7bd764f35e825d3bd1dde0577.tar.xz pbs2-7af05732e2f961c7bd764f35e825d3bd1dde0577.zip | |
start label for vesamenu
| -rw-r--r-- | application/modules/ipxe/controllers/AuthController.php | 4 | ||||
| -rw-r--r-- | application/modules/ipxe/views/scripts/resource/getvesamenu.phtml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php index 76e6bd3..9ab1421 100644 --- a/application/modules/ipxe/controllers/AuthController.php +++ b/application/modules/ipxe/controllers/AuthController.php @@ -83,9 +83,9 @@ class Ipxe_AuthController extends Zend_Controller_Action $result = "#!ipxe\n"; $result .= "imgfree\n"; if(isset($this->session)){ + $result .= ":start\n"; $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$this->session->getAlphasessionID()."/error/$this->error\n"; - $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$this->session->getAlphasessionID()."/error/$this->error\n"; - + $result .= "goto start\n"; }else{ $result .= "chain http://".$_SERVER['HTTP_HOST']."/ipxe/vesamenu.c32 http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/serialnumer/$serialnumber/mac/$mac/error/$this->error\n"; } diff --git a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml index 4909f89..f07fb6a 100644 --- a/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml +++ b/application/modules/ipxe/views/scripts/resource/getvesamenu.phtml @@ -44,13 +44,13 @@ function nomembership ($alphaID) { comment ("failed", "You have no memberships"); - uriboot ( "Return to Group Bootmenu", "/ipxe/auth/logout/alpha/$alphaID", "" ); + uriboot ( "Return to Group Bootmenu", "/ipxe/vesamenu.c32", "/ipxe/auth/logout/alpha/$alphaID" ); } function retry ($alphaID) { comment ("failed", "Authentication Failed"); uriboot ( "Try again", "/ipxe/auth/login/alpha/$alphaID/login/true", "" ); - uriboot ( "Return to Group Bootmenu", "/ipxe/auth/logout/alpha/$alphaID", "" ); + uriboot ( "Return to Group Bootmenu", "/ipxe/vesamenu.c32", "/ipxe/auth/logout/alpha/$alphaID" ); } function sessionerror ($serialnumber,$mac) { |
