Some change for file directory
This commit is contained in:
parent
520f167aaa
commit
5dd639878c
@ -225,8 +225,8 @@ class EnrichissementController extends Zend_Controller_Action
|
||||
$result = $table->fetchRow($sql);
|
||||
if(!empty($result)) {
|
||||
$result = $result->toArray();
|
||||
$date = explode(' ', $result['dateAdded']);
|
||||
$path = $config->path->data.'/'.substr($date[0], 0, 7).'/';
|
||||
$date = substr($result['dateAdded'],0,4).substr($result['dateAdded'],5,2);
|
||||
$path = $config->path->data.'/'.$date.'/';
|
||||
$file = $result['fichier'];
|
||||
}
|
||||
$content_type = 'application/csv-tab-delimited-table';
|
||||
|
Loading…
Reference in New Issue
Block a user