Action affichage bilan association

This commit is contained in:
Michael RICOIS 2012-11-21 11:44:05 +00:00
parent 7bd0af4762
commit 23292acaec

View File

@ -433,6 +433,7 @@ class FichierController extends Zend_Controller_Action
$file = $this->getRequest()->getParam('fichier');
$c = Zend_Registry::get('config');
$path = $c->profil->path->files.'/';
Zend_Registry::get('firebug')->info($path.$file);
if ( file_exists($path.$file) && filesize($path.$file)>0 ) {
header('Content-Transfer-Encoding: none');
header('Content-type: ' . $content_type.'');