Use format 'Ym' for directory

This commit is contained in:
Michael RICOIS 2012-06-19 15:20:29 +00:00
parent 1aeecef0c5
commit ef22877b66

View File

@ -95,7 +95,7 @@ if ( count($identifiants)==0 || count($dataProfil)==0 ) {
}
//Let's go
$mois = date('Y-m');
$mois = date('Ym');
if(!file_exists($config->path->data.'/'.$mois))
mkdir($config->path->data.'/'.$mois);