using webroot for file check on $count

This commit is contained in:
mcguirepr89
2022-05-06 13:46:02 -04:00
parent ca443ecbef
commit 57bbc83a4c
+2 -2
View File
@@ -165,8 +165,8 @@ if(isset($_GET['submit'])) {
fwrite($fh2, $contents2);
}
$count_included = count(file("/home/pi/BirdNET-Pi/include_species_list.txt"));
$count_labels = count(file("/home/pi/BirdNET-Pi/model/labels.txt"));
$count_included = count(file("./scripts/include_species_list.txt"));
$count_labels = count(file("./scripts/labels.txt"));
if($count_included > 0) {
$count = $count_included;