récupération du fichier
This commit is contained in:
parent
29f441596d
commit
ff45c9f73f
@ -26,6 +26,8 @@ class IndexController extends Zend_Controller_Action
|
||||
->where("dateStop != '0000-00-00 00:00:00'")
|
||||
->where("error = ''");
|
||||
$this->view->assign('fileFinish', $commandesM->fetchAll($sql));
|
||||
|
||||
|
||||
}
|
||||
|
||||
public function getinfoAction()
|
||||
@ -46,4 +48,11 @@ class IndexController extends Zend_Controller_Action
|
||||
}
|
||||
}
|
||||
|
||||
public function getfileAction(){
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
$request = $this->getRequest();
|
||||
$file = $request->getParam('file');
|
||||
echo file_get_contents('/sites/dataenrichissement/export/'.file);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user