resoving
This commit is contained in:
parent
91aa15d253
commit
febd8f0883
8 changed files with 69 additions and 47 deletions
|
|
@ -33,12 +33,15 @@ class AdminPageController extends Katharsis_Controller_Abstract
|
|||
$upload = new Upload();
|
||||
|
||||
if($type == 'header') {
|
||||
$upload->header($_FILES['myfile']);
|
||||
$imagePath = $upload->header($_FILES['myfile']);
|
||||
} else {
|
||||
$upload->page($_FILES['myfile']);
|
||||
$imagePath = $upload->page($_FILES['myfile']);
|
||||
}
|
||||
|
||||
echo 'Das Hochladen war erfolgreich.<br><br>';
|
||||
$this->_view->imagePath = $imagePath;
|
||||
|
||||
echo $this->_view->render('AdminPage/uploadsuccess');
|
||||
die();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue