Skip to content

Commit

Permalink
mnt: belt+suspenders page access
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Feb 6, 2024
1 parent 78cfa5f commit e335f48
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions htdocs/sites/porclimo.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
$network = $ctx->network;
$metadata = $ctx->metadata;

// silly bots
if (strpos($network, "CLIMATE") === false){
header("HTTP/1.1 404 Not Found");
die();
}

$t = new MyView();
$t->title = "Period of Record Daily Climatology";
$t->sites_current = "porclimo";
Expand Down

0 comments on commit e335f48

Please sign in to comment.