Use dateAdded to directory
This commit is contained in:
parent
5dd639878c
commit
2d0eba0bde
@ -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