X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=www%2Fprintbadpcus.php;h=500be1fecb13e67f38a922c8eee4f26486bdf5c4;hb=0fabfc8dbe8f1f2c0d12397e1bc8c6ed686fb5ed;hp=90f6645b995a801dafbc975b22e50c97d6c17d56;hpb=77f84f1e8242cdc45eb091ab65eef940a23493a6;p=monitor.git diff --git a/www/printbadpcus.php b/www/printbadpcus.php index 90f6645..500be1f 100644 --- a/www/printbadpcus.php +++ b/www/printbadpcus.php @@ -2,12 +2,12 @@ function plc_site_link($site_name) { - return "https://www.planet-lab.org/db/sites/index.php?site_pattern=" . $site_name; + return "https://" . MONITOR_HOSTNAME . "/db/sites/index.php?site_pattern=" . $site_name; } function pcu_link($pcu) { - return "https://www.planet-lab.org/db/sites/pcu.php?id=" . $pcu['pcu_id']; + return "https://" . MONITOR_HOSTNAME . "/db/sites/pcu.php?id=" . $pcu['pcu_id']; } function pcu_site($pcu) @@ -147,7 +147,7 @@ function get_category_link($category,$header) return "$header"; } -include 'soltesz.php'; +include 'database.php'; $p = new Pickle(); $findbad = $p->load("findbadpcus"); $findbadpcus = array_keys($findbad['nodes']);