summaryrefslogtreecommitdiffstats
path: root/application/modules/fbgui/controllers/IndexController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/fbgui/controllers/IndexController.php')
-rw-r--r--application/modules/fbgui/controllers/IndexController.php13
1 files changed, 3 insertions, 10 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index c874d97..450dd14 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -103,16 +103,9 @@ class Fbgui_IndexController extends Zend_Controller_Action
$session->setBootmenuentryID($bootmenuntryID);
$session->setBootosID($bootmenuentry->getBootosID());
$sessionMapper->save($session);
- echo "<h1>Downloading</h1>";
- echo "<script>\n";
- echo "fbgui.setCallbackOnFinished('foo();');\n";
- echo "fbgui.startDownload('http://132.230.4.27/resource/getkernel/alpha/".$_SESSION['alphasessionID']."/file/kernel');\n";
- echo "fbgui.startDownload('http://132.230.4.27/resource/getinitramfs/alpha/".$_SESSION['alphasessionID']."/file/initramfs');\n";
- echo "fbgui.startDownload('http://132.230.4.27/resource/getkcl/alpha/".$_SESSION['alphasessionID']."/file/kcl');\n";
- echo "function foo(){
- fbgui.quit();
- }";
- echo "</script>";
+
+ $this->view->host = '132.230.4.27';
+ $this->view->alphaid = $_SESSION['alphasessionID'];
}