Add directory separator

This commit is contained in:
Michael RICOIS 2013-05-13 13:38:23 +00:00
parent 5bb31b0723
commit 677390d46a

View File

@ -85,7 +85,7 @@ class IndexController extends Zend_Controller_Action
$file = $request->getParam('file', '');
$content_type = 'application/csv-tab-delimited-table';
$c = Zend_Registry::get('config');
$path = $c->profil->path->data;
$path = $c->profil->path->data . DIRECTORY_SEPARATOR;
//Envoi du fichier sur la sortie standard
if ( file_exists($path.$file) ) {
header('Content-Transfer-Encoding: none');