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:
@@ -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"));
|
||||||
|
$count = $count_labels;
|
||||||
if($count_included > 0) {
|
|
||||||
$count = $count_included;
|
|
||||||
} else {
|
|
||||||
$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>
|
||||||
|
|||||||
Reference in New Issue
Block a user