summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael pereira2011-04-25 13:09:10 +0200
committermichael pereira2011-04-25 13:09:10 +0200
commitb17baa42c84f8c9d719a8a06ade694ce0a0dc4a9 (patch)
treea5758fe88d8540a06d4468465c038e76c5eabe6d
parentconfig fix (diff)
downloadpbs2-b17baa42c84f8c9d719a8a06ade694ce0a0dc4a9.tar.gz
pbs2-b17baa42c84f8c9d719a8a06ade694ce0a0dc4a9.tar.xz
pbs2-b17baa42c84f8c9d719a8a06ade694ce0a0dc4a9.zip
kcl fix
-rw-r--r--application/controllers/ResourceController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php
index fa3b214..7519429 100644
--- a/application/controllers/ResourceController.php
+++ b/application/controllers/ResourceController.php
@@ -503,7 +503,7 @@ class ResourceController extends Zend_Controller_Action
}else{
$result = "alpha=" . $this->_request->getParam('alpha') . " file=http://".$_SERVER['HTTP_HOST']."/c/".$this->_request->getParam('alpha')."/default.tgz ".$bme->getKclappend();
}
-
+ $result = trim($result);
header("Content-Length: ".(strlen($result)));
echo $result;