Correction nom de fichier

This commit is contained in:
Michael RICOIS 2016-03-18 14:17:10 +00:00
parent 522f525a46
commit 355bc8166e

View File

@ -72,7 +72,7 @@ class FichierController extends Zend_Controller_Action
$content_type = 'application/csv-tab-delimited-table';
$filename = $this->getRequest()->getParam('fichier');
$c = Zend_Registry::get('config');
$file = $c->profil->path->shared . '/files/'.$file;
$file = $c->profil->path->shared . '/files/'.$filename;
// --- Envoi du fichier sur la sortie standard
if ( file_exists($file) ) {
$modules = array(); //apache_get_modules();