Use format 'Ym' for directory
This commit is contained in:
parent
1aeecef0c5
commit
ef22877b66
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user