This commit is contained in:
Michael RICOIS 2012-06-19 15:58:02 +00:00
commit 3c696c0443
2 changed files with 2 additions and 1 deletions

View File

@ -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) ) {

View 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);