summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/controllers/ResourceController.php6
-rw-r--r--application/modules/user/controllers/BootosController.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php
index d651f4d..88555d1 100644
--- a/application/controllers/ResourceController.php
+++ b/application/controllers/ResourceController.php
@@ -89,7 +89,7 @@ class ResourceController 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="config.tgz"');
+ header('Content-Disposition: ' . $content_disp . '; filename="default.tgz"');
header('Pragma: no-cache');
header('Expires: 0');
@@ -141,9 +141,9 @@ class ResourceController extends Zend_Controller_Action
if($bme->getKcl()){
$kcl = $bootosmapper->find($bme->getBootosID())->getDefaultkcl();
- $result = $kcl . " alpha=" . $this->_request->getParam('alpha') . " " . $bme->getKclappend();
+ $result = $kcl . " alpha=" . $this->_request->getParam('alpha') . " file=http://".$_SERVER['HTTP_HOST']."/resource/getconfig/alpha/".$this->_request->getParam('alpha')."/file/default.tgz ".$bme->getKclappend();
}else{
- $result = "alpha=" . $this->_request->getParam('alpha') . " " .$bme->getKclappend();
+ $result = "alpha=" . $this->_request->getParam('alpha') . " file=http://".$_SERVER['HTTP_HOST']."/resource/getconfig/alpha/".$this->_request->getParam('alpha')."/file/default.tgz ".$bme->getKclappend();
}
echo $result;
diff --git a/application/modules/user/controllers/BootosController.php b/application/modules/user/controllers/BootosController.php
index b4801f6..df2d7fd 100644
--- a/application/modules/user/controllers/BootosController.php
+++ b/application/modules/user/controllers/BootosController.php
@@ -1,4 +1,4 @@
-v<?php
+<?php
class user_BootosController extends Zend_Controller_Action
{