Chemin statut association - directement télécharger depuis le webservice

This commit is contained in:
Michael RICOIS 2016-03-04 13:06:29 +00:00
parent 27b3470ef3
commit 7f8c21a1b7

View File

@ -11,7 +11,7 @@ class File_GreffeController extends Zend_Controller_Action
{ {
$filename = $this->getRequest()->getParam('q'); $filename = $this->getRequest()->getParam('q');
$c = Zend_Registry::get('config'); $c = Zend_Registry::get('config');
$file = $c->profil->path->shared.'/persist/association/actes/'.$filename; $file = $c->profil->path->shared.'/temp/files/'.$filename;
$content_type = 'application/pdf'; $content_type = 'application/pdf';
//Envoi du fichier sur la sortie standard //Envoi du fichier sur la sortie standard
if ( file_exists($file) ) { if ( file_exists($file) ) {