Modification date pour l'export des logs
This commit is contained in:
parent
1cd335c156
commit
9fa25c3b5e
@ -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>';
|
||||
|
@ -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>';
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user