Skip to content

Commit 8dc4cc7

Browse files
committed
Enable Archive by default
1 parent 9af14b0 commit 8dc4cc7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@
766766
</p>
767767
<p>
768768
<label for="archivemonths">Generate statistics, delete or put in archive flights older than xx months</label>
769-
<input type="number" name="archivemonths" id="archivemonths" value="<?php if (isset($globalArchiveMonths)) print $globalArchiveMonths; else echo '0'; ?>" />
769+
<input type="number" name="archivemonths" id="archivemonths" value="<?php if (isset($globalArchiveMonths)) print $globalArchiveMonths; else echo '1'; ?>" />
770770
<p class="help-block">0 to disable, delete old flight if <i>Archive all flights data</i> is disabled</p>
771771
</p>
772772
<p>
@@ -776,12 +776,12 @@
776776
</p>
777777
<p>
778778
<label for="archivekeepmonths">Keep flights data for xx months in archive</label>
779-
<input type="number" name="archivekeepmonths" id="archivekeepmonths" value="<?php if (isset($globalArchiveKeepMonths)) print $globalArchiveKeepMonths; else echo '0'; ?>" />
779+
<input type="number" name="archivekeepmonths" id="archivekeepmonths" value="<?php if (isset($globalArchiveKeepMonths)) print $globalArchiveKeepMonths; else echo '1'; ?>" />
780780
<p class="help-block">0 to disable</p>
781781
</p>
782782
<p>
783783
<label for="archivekeeptrackmonths">Keep flights track data for xx months in archive</label>
784-
<input type="number" name="archivekeeptrackmonths" id="archivekeeptrackmonths" value="<?php if (isset($globalArchiveKeepTrackMonths)) print $globalArchiveKeepTrackMonths; else echo '0'; ?>" />
784+
<input type="number" name="archivekeeptrackmonths" id="archivekeeptrackmonths" value="<?php if (isset($globalArchiveKeepTrackMonths)) print $globalArchiveKeepTrackMonths; else echo '1'; ?>" />
785785
<p class="help-block">0 to disable, should be less or egal to <i>Keep flights data</i> value</p>
786786
</p>
787787
<br />

0 commit comments

Comments
 (0)