Only show certs expiring soon
This commit is contained in:
parent
a7e8eddf1a
commit
65edebdb7f
1 changed files with 1 additions and 1 deletions
|
@ -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>");
|
||||||
|
|
Loading…
Reference in a new issue