summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorSimon2011-03-10 18:07:55 +0100
committerSimon2011-03-10 18:07:55 +0100
commit9498644571a866c5f6f21f98f1ceb3e220bd3093 (patch)
tree883c5907a53f798dde42913a9df7feafa77811e9 /application/controllers
parentNeue Initramfs (diff)
downloadpbs2-9498644571a866c5f6f21f98f1ceb3e220bd3093.tar.gz
pbs2-9498644571a866c5f6f21f98f1ceb3e220bd3093.tar.xz
pbs2-9498644571a866c5f6f21f98f1ceb3e220bd3093.zip
ResourceController korrigiert
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/ResourceController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php
index 2cf0565..3ee7005 100644
--- a/application/controllers/ResourceController.php
+++ b/application/controllers/ResourceController.php
@@ -25,8 +25,8 @@ class ResourceController extends Zend_Controller_Action
$bootosID = $this->_request->getParam('bootosID');
$bootosID = $this->alphaID($bootosID, true, false, $this->pass);
$bootosID -= $this->startval;
-
- if(is_dir("../resources/config/$bootosID/uniontmp/") && is_numeric($bootosID)){
+
+ if(is_dir("../resources/bootos/$bootosID/initramfs/") && is_numeric($bootosID)){
header('Content-Type: application/x-gzip');
$content_disp = ( ereg('MSIE ([0-9].[0-9]{1,2})', $HTTP_USER_AGENT) == 'IE') ? 'inline' : 'attachment';
@@ -50,7 +50,7 @@ class ResourceController extends Zend_Controller_Action
$configID = $this->alphaID($configID, true, false, $this->pass);
$configID -= $this->startval;
- if(is_dir("../resources/config/$configID/uniontmp/") && is_numeric($configID)){
+ if(is_dir("../resources/config/$configID/config/") && is_numeric($configID)){
header('Content-Type: application/x-gzip');
$content_disp = ( ereg('MSIE ([0-9].[0-9]{1,2})', $HTTP_USER_AGENT) == 'IE') ? 'inline' : 'attachment';
@@ -73,7 +73,7 @@ class ResourceController extends Zend_Controller_Action
$bootosID = $this->alphaID($bootosID, true, false, $this->pass);
$bootosID -= $this->startval;
- if(is_dir("../resources/config/$bootosID/uniontmp/") && is_numeric($bootosID)){
+ if(is_dir("../resources/bootos/$bootosID/kernel/") && is_numeric($bootosID)){
header('Content-Type: application/x-gzip');
$content_disp = ( ereg('MSIE ([0-9].[0-9]{1,2})', $HTTP_USER_AGENT) == 'IE') ? 'inline' : 'attachment';