summaryrefslogtreecommitdiffstats
path: root/application/controllers/ResourceController.php
diff options
context:
space:
mode:
authorSimon2011-04-20 18:29:08 +0200
committerSimon2011-04-20 18:29:08 +0200
commit0af97921c83f6a4ae189a94940cd2f8c0c550684 (patch)
tree9c9b601fed123d1783af2665a9c1e8ea5627522a /application/controllers/ResourceController.php
parentRedirect wenn Nutzer / aufruft (diff)
downloadpbs2-0af97921c83f6a4ae189a94940cd2f8c0c550684.tar.gz
pbs2-0af97921c83f6a4ae189a94940cd2f8c0c550684.tar.xz
pbs2-0af97921c83f6a4ae189a94940cd2f8c0c550684.zip
Url für Config gekürzt
Diffstat (limited to 'application/controllers/ResourceController.php')
-rw-r--r--application/controllers/ResourceController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php
index 91cd290..2c7f42e 100644
--- a/application/controllers/ResourceController.php
+++ b/application/controllers/ResourceController.php
@@ -257,9 +257,9 @@ class ResourceController extends Zend_Controller_Action
$kcl = $bootosmapper->find($bme->getBootosID())->getDefaultkcl();
if($bme->getKcl() && $kcl != null){
- $result = $kcl . " alpha=" . $this->_request->getParam('alpha') . " file=http://".$_SERVER['HTTP_HOST']."/resource/getconfig/alpha/".$this->_request->getParam('alpha')."/file/default.tgz ".$bme->getKclappend();
+ $result = $kcl . " alpha=" . $this->_request->getParam('alpha') . " file=http://".$_SERVER['HTTP_HOST']."/c/".$this->_request->getParam('alpha')."/default.tgz ".$bme->getKclappend();
}else{
- $result = "alpha=" . $this->_request->getParam('alpha') . " file=http://".$_SERVER['HTTP_HOST']."/resource/getconfig/alpha/".$this->_request->getParam('alpha')."/file/default.tgz ".$bme->getKclappend();
+ $result = "alpha=" . $this->_request->getParam('alpha') . " file=http://".$_SERVER['HTTP_HOST']."/c/".$this->_request->getParam('alpha')."/default.tgz ".$bme->getKclappend();
}
header("Content-Length: ".(strlen($result)));