Only show certs expiring soon

This commit is contained in:
Klaus-Uwe Mitterer 2016-03-04 22:07:10 +01:00
parent a7e8eddf1a
commit 65edebdb7f

View file

@ -11,7 +11,7 @@ foreach ($sites as $s) {
$out = $s . " - " . date("Y-m-d H:i:s",$c["validTo_time_t"]); $out = $s . " - " . date("Y-m-d H:i:s",$c["validTo_time_t"]);
if ($c["validTo_time_t"] < strtotime("+1 week")) { if ($c["validTo_time_t"] < strtotime("+1 week")) {
print("<font color=\"red\"><b>" . $out . "</b></font>"); print("<font color=\"red\"><b>" . $out . "</b></font>");
} else { } else if (isset($_GET["debug"])) {
print($out); print($out);
}; };
print("<br>"); print("<br>");