after learning more about the code, it won't use the

included_species_list.txt file until after considering
the privacy_threshold on the entire labels.txt
This commit is contained in:
mcguirepr89
2022-05-09 13:49:05 -04:00
parent ea0c7f46ce
commit b3c4e905a9
-6
View File
@@ -164,14 +164,8 @@ if(isset($_GET['submit'])) {
fwrite($fh2, $contents2); fwrite($fh2, $contents2);
} }
$count_included = count(file("./scripts/include_species_list.txt"));
$count_labels = count(file("./scripts/labels.txt")); $count_labels = count(file("./scripts/labels.txt"));
if($count_included > 0) {
$count = $count_included;
} else {
$count = $count_labels; $count = $count_labels;
}
?> ?>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<style> <style>