Merge
This commit is contained in:
commit
3c696c0443
@ -229,6 +229,7 @@ class EnrichissementController extends Zend_Controller_Action
|
||||
$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) ) {
|
||||
|
@ -95,7 +95,7 @@ if ( count($identifiants)==0 || count($dataProfil)==0 ) {
|
||||
}
|
||||
|
||||
//Let's go
|
||||
$mois = date('Ym');
|
||||
$mois = substr($commande->dateAdded,0,4).substr($commande->dateAdded,5,2);
|
||||
|
||||
if(!file_exists($config->path->data.'/'.$mois))
|
||||
mkdir($config->path->data.'/'.$mois);
|
||||
|
Loading…
Reference in New Issue
Block a user