From 1873a542b79f5020592d3b61e529ceb7369efb10 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Fri, 25 Mar 2011 13:13:36 +0100 Subject: fbgui auth erstellt --- application/modules/dev/controllers/BootosController.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'application/modules/dev/controllers/BootosController.php') diff --git a/application/modules/dev/controllers/BootosController.php b/application/modules/dev/controllers/BootosController.php index 5f8aaf0..1f31a69 100644 --- a/application/modules/dev/controllers/BootosController.php +++ b/application/modules/dev/controllers/BootosController.php @@ -70,9 +70,12 @@ class dev_BootosController extends Zend_Controller_Action $initpath = "../resources/bootos/".$bootosID."/initramfs/"; $kernelpath = "../resources/bootos/".$bootosID."/kernel/"; + + mkdir($initpath ,0777, true); + mkdir($kernelpath ,0777, true); - exec("wget -P ".$kernelpath." ".$bootos->getPath_kernel()); - exec("wget -P ".$initpath." ".$bootos->getPath_init()); + exec("wget -O '".$kernelpath."kernel' ".$bootos->getPath_kernel()); + exec("wget -O '".$initpath."initramfs' ".$bootos->getPath_init()); -- cgit v1.2.3-55-g7522