diff options
| author | michael pereira | 2011-04-25 11:40:40 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-25 11:40:40 +0200 |
| commit | e2d929c54a0d951c9bae51df7df5178bf9f0066f (patch) | |
| tree | 142a271540cb0467350c91d1818340b0b09c8b7f /application/modules/user/controllers/BootosController.php | |
| parent | auto-close removed, handled by fbgui now (diff) | |
| download | pbs2-e2d929c54a0d951c9bae51df7df5178bf9f0066f.tar.gz pbs2-e2d929c54a0d951c9bae51df7df5178bf9f0066f.tar.xz pbs2-e2d929c54a0d951c9bae51df7df5178bf9f0066f.zip | |
config fertig
Diffstat (limited to 'application/modules/user/controllers/BootosController.php')
| -rw-r--r-- | application/modules/user/controllers/BootosController.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/application/modules/user/controllers/BootosController.php b/application/modules/user/controllers/BootosController.php index 92dcc5f..9bc6a69 100644 --- a/application/modules/user/controllers/BootosController.php +++ b/application/modules/user/controllers/BootosController.php @@ -86,7 +86,6 @@ class user_BootosController extends Zend_Controller_Action $this->view->bootoslist = array_reverse($this->view->bootoslist); - $update = $this->_request->getParam('checkupdate'); $groupMapper = new Application_Model_GroupMapper(); if(count($this->view->bootoslist)>0){ @@ -161,6 +160,7 @@ class user_BootosController extends Zend_Controller_Action try { $bootosID = $this->bootosMapper->save($bootos); + $bootos->setID($bootosID); if( $_FILES['kernel']['size'] == 0 && $_FILES['kernel']['name'] != '' || $_FILES['init']['size'] == 0 && $_FILES['init']['name'] != '' || @@ -184,6 +184,8 @@ class user_BootosController extends Zend_Controller_Action } if($_FILES['config']['name'] != ''){ move_uploaded_file($_FILES['config']['tmp_name'], $configpath."default.tgz"); + $newconfig = new Pbs_NewConfig(); + $newconfig->createDefaultConfig($bootos); } |
