Opened 7 years ago
Last modified 7 years ago
#1562 closed Bug/Fehler
Fehler in combine_files.inc.php der templates — at Version 1
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | hoch | Milestone: | modified-shop-2.0.5.0 |
| Component: | Template | Version: | 2.0.4.2 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description (last modified by )
Hallo,
die combine_files.inc.php prüft die Bearbeitungszeit aller zu kombinierenden Dateien. Wenn sich eine Datei verändert hat, wird korrekter Weise die mimimierte Datei neu erstellt.
Jedoch wird $f_min_ts danach nicht neu ermittelt, sodass die kombinierte Datei immer noch den Zeitstempel der unveränderten beibehält.
Folgende kleine Änderung ist notwendig:
vorher:
if ($compactor->save($f_min) === true) {
$f_array = array($f_min.'?v='.$f_min_ts);
}
nachher
if ($compactor->save($f_min) === true) {
$f_array = array($f_min.'?v='.time());
}
Viele Grüße
Andreas
Change History (1)
comment:1 by , 7 years ago
| Description: | modified (diff) |
|---|---|
| Milestone: | → modified-shop-2.0.4.2 |
Note:
See TracTickets
for help on using tickets.
