Modification date pour l'export des logs

This commit is contained in:
Michael RICOIS 2011-02-10 16:43:17 +00:00
parent 1cd335c156
commit 9fa25c3b5e
3 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ Tous les clients</label>
<select name="telechargementjsMenu">
<option value="invalide">Mois/Année</option>
<?php
for ($i = 1; $i <= 12; ++$i) {
for ($i = 0; $i <= 12; ++$i) {
$date = date('m', mktime(0, 0, 0, date('m') - $i, 1, date('Y'))).'/'.
date('Y', mktime(0, 0, 0, date('m') - $i, 1, date('Y')));
print '<option value="'.$date.'">'.$date.'</option>';

View File

@ -231,7 +231,7 @@ if ($tabInfo['profil'] == 'Administrateur' ||
<select name="telechargementjsMenu">
<option value="invalide">Mois/Année</option>
<?php
for ($i = 1; $i <= 12; ++$i) {
for ($i = 0; $i <= 12; ++$i) {
$date = date('m', mktime(0, 0, 0, date('m') - $i, 1, date('Y'))).'/'.
date('Y', mktime(0, 0, 0, date('m') - $i, 1, date('Y')));
print '<option value="'.$date.'">'.$date.'</option>';

View File

@ -111,7 +111,7 @@ if ($start == 1) {
date('s',$dateFile), date('m',$dateFile),
date('d',$dateFile), date('Y',$dateFile));
if (in_array(ENVIRONNEMENT, array('REC','DEV')) || $maxTime-$now<0) {
unlink($path.$file);
unlink($path.$file);
}
}