Merge
This commit is contained in:
commit
4c17580749
@ -226,10 +226,10 @@ class EnrichissementController extends Zend_Controller_Action
|
|||||||
if(!empty($result)) {
|
if(!empty($result)) {
|
||||||
$result = $result->toArray();
|
$result = $result->toArray();
|
||||||
$date = substr($result['dateAdded'],0,4).substr($result['dateAdded'],5,2);
|
$date = substr($result['dateAdded'],0,4).substr($result['dateAdded'],5,2);
|
||||||
|
$config = Zend_Registry::get('configuration');
|
||||||
$path = $config->path->data.'/'.$date.'/';
|
$path = $config->path->data.'/'.$date.'/';
|
||||||
$file = $result['fichier'];
|
$file = $result['fichier'];
|
||||||
}
|
}
|
||||||
Zend_Registry::get('firebug')->info($path.$file);
|
|
||||||
$content_type = 'application/csv-tab-delimited-table';
|
$content_type = 'application/csv-tab-delimited-table';
|
||||||
//Envoi du fichier sur la sortie standard
|
//Envoi du fichier sur la sortie standard
|
||||||
if ( file_exists($path.$file) ) {
|
if ( file_exists($path.$file) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user