Fix nocache param in history.php
This commit is contained in:
+4
-2
@@ -148,14 +148,16 @@ function submitID() {
|
||||
</table>
|
||||
<?php // <br><button type="button" onclick="showDialog()">Export as CSV for eBird</button><br><br> ?>
|
||||
<?php
|
||||
$time = time();
|
||||
|
||||
if (file_exists('./Charts/'.$chart)) {
|
||||
echo "<img src=\"/Charts/$chart?nocache=time()\" >";
|
||||
echo "<img src=\"/Charts/$chart?nocache=$time\" >";
|
||||
} else {
|
||||
echo "<p>No Charts for $theDate</p>";
|
||||
}
|
||||
echo "<hr>";
|
||||
if (file_exists('./Charts/'.$chart2)) {
|
||||
echo "<img src=\"/Charts/$chart2?nocache=time()\">";
|
||||
echo "<img src=\"/Charts/$chart2?nocache=$time\">";
|
||||
} else {
|
||||
echo "<p>No Charts For $theDate</p>";
|
||||
}?>
|
||||
|
||||
Reference in New Issue
Block a user