Opened 7 years ago
Last modified 7 years ago
#1562 closed Bug/Fehler
Fehler in combine_files.inc.php der templates — at Initial Version
| 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
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
Note:
See TracTickets
for help on using tickets.
