summaryrefslogtreecommitdiffstats
path: root/application/modules
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules')
-rw-r--r--application/modules/dev/controllers/BootisoController.php17
-rw-r--r--application/modules/dev/controllers/PrebootController.php2
-rw-r--r--application/modules/fbgui/controllers/IndexController.php1
3 files changed, 12 insertions, 8 deletions
diff --git a/application/modules/dev/controllers/BootisoController.php b/application/modules/dev/controllers/BootisoController.php
index 901c901..dc4ec58 100644
--- a/application/modules/dev/controllers/BootisoController.php
+++ b/application/modules/dev/controllers/BootisoController.php
@@ -40,19 +40,22 @@ class dev_BootisoController extends Zend_Controller_Action
header('Content-Type: application/x-gzip');
$content_disp = ( ereg('MSIE ([0-9].[0-9]{1,2})', $_SERVER['HTTP_USER_AGENT']) == 'IE') ? 'inline' : 'attachment';
- header('Content-Disposition: ' . $content_disp . '; filename="preboot.zip"');
+ header('Content-Disposition: ' . $content_disp . '; filename="preboot.tgz"');
header('Pragma: no-cache');
header('Expires: 0');
- $fp = fopen("bootisoSerial.txt", "w");
- fputs ($fp, $serialnumber);
- fclose ($fp);
+ chdir("../resources/bootmedium/$prebootID/preboot/");
+
+// $fp = fopen("bootisoSerial.txt", "w");
+// fputs ($fp, $serialnumber);
+// fclose ($fp);
// create the gzipped tarfile.
- chdir("../resources/bootmedium/$prebootID/preboot/");
- passthru("zip -r - ./");
+
+ passthru("tar -cz ./");
- }
+
+ }
diff --git a/application/modules/dev/controllers/PrebootController.php b/application/modules/dev/controllers/PrebootController.php
index cfcbeca..df8daf2 100644
--- a/application/modules/dev/controllers/PrebootController.php
+++ b/application/modules/dev/controllers/PrebootController.php
@@ -65,7 +65,7 @@ class dev_PrebootController extends Zend_Controller_Action
echo "Message: " . $e->getMessage() . "<br/>";
}
- //$this->_redirect('/dev/preboot');
+ $this->_redirect('/dev/preboot');
}
}
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index 906de49..53eb6ab 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -10,6 +10,7 @@ class Fbgui_IndexController extends Zend_Controller_Action
public function indexAction()
{
+ print_a($_POST);
$params = $this->_request->getParam('data');
$keys = $this->_request->getParam('keys');
$post = $this->_request->getParam('post');