From 9498644571a866c5f6f21f98f1ceb3e220bd3093 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 10 Mar 2011 18:07:55 +0100 Subject: ResourceController korrigiert --- application/controllers/ResourceController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'application/controllers/ResourceController.php') 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'; -- cgit v1.2.3-55-g7522