Update advanced.php

This commit is contained in:
Patrick McGuire
2022-02-14 14:44:40 -05:00
committed by GitHub
parent f0f1a149fb
commit b8bdb41c6b
-2
View File
@@ -51,7 +51,6 @@ if(isset($_POST['submit'])) {
$fh2 = fopen("/home/pi/BirdNET-Pi/thisrun.txt", "w"); $fh2 = fopen("/home/pi/BirdNET-Pi/thisrun.txt", "w");
fwrite($fh, $contents); fwrite($fh, $contents);
fwrite($fh2, $contents2); fwrite($fh2, $contents2);
exec('sudo /usr/local/bin/update_caddyfile.sh > /dev/null 2>&1 &');
} }
} }
@@ -64,7 +63,6 @@ if(isset($_POST['submit'])) {
$fh2 = fopen("/home/pi/BirdNET-Pi/thisrun.txt", "w"); $fh2 = fopen("/home/pi/BirdNET-Pi/thisrun.txt", "w");
fwrite($fh, $contents); fwrite($fh, $contents);
fwrite($fh2, $contents2); fwrite($fh2, $contents2);
exec('sudo /usr/local/bin/update_caddyfile.sh > /dev/null 2>&1 &');
} }
} }