diff --git a/application/controllers/EnrichissementController.php b/application/controllers/EnrichissementController.php index fed6e571..5cf00080 100644 --- a/application/controllers/EnrichissementController.php +++ b/application/controllers/EnrichissementController.php @@ -226,10 +226,10 @@ class EnrichissementController extends Zend_Controller_Action if(!empty($result)) { $result = $result->toArray(); $date = substr($result['dateAdded'],0,4).substr($result['dateAdded'],5,2); + $config = Zend_Registry::get('configuration'); $path = $config->path->data.'/'.$date.'/'; $file = $result['fichier']; } - Zend_Registry::get('firebug')->info($path.$file); $content_type = 'application/csv-tab-delimited-table'; //Envoi du fichier sur la sortie standard if ( file_exists($path.$file) ) {