Update config.php

This commit is contained in:
ehpersonal38
2022-11-15 12:34:18 -05:00
parent 5f727e71a3
commit 148207c3d6
+7
View File
@@ -133,6 +133,13 @@ if(isset($_GET["latitude"])){
$contents2 = preg_replace("/APPRISE_MINIMUM_SECONDS_BETWEEN_NOTIFICATIONS_PER_SPECIES=.*/", "APPRISE_MINIMUM_SECONDS_BETWEEN_NOTIFICATIONS_PER_SPECIES=$minimum_time_limit", $contents2);
if($site_name != $config["SITE_NAME"]) {
echo "<script>setTimeout(
function() {
location.reload();
}, 1000);</script>";
}
$fh = fopen("/etc/birdnet/birdnet.conf", "w");
$fh2 = fopen("./scripts/thisrun.txt", "w");
fwrite($fh, $contents);