format date

This commit is contained in:
Damien LASSERRE 2012-04-13 07:47:50 +00:00
parent d99f974c7c
commit 2931f21cc4

View File

@ -82,7 +82,7 @@ if ($opts->id)
if ( count($identifiants)>0 && count($dataProfil)>0 )
{
$config = new Zend_Config_Ini(APPLICATION_PATH.'/configs/configuration.ini');
$mois = date('m-Y');
$mois = date('Y-m');
if(!file_exists($config->path->data.'/'.$mois))
mkdir($config->path->data.'/'.$mois);
$path = $config->path->data.'/'.$mois;