Update SSL.class.php
This commit is contained in:
parent
99d02b27b3
commit
6c3484e67f
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
// https://stackoverflow.com/questions/3464113/is-it-possible-to-read-ssl-information-in-php-from-any-website
|
||||
|
||||
if(!class_exists("SSL")) {
|
||||
class SSL {
|
||||
|
||||
public $domain, $validFrom, $validTo, $issuer, $validity, $validitytot, $crtValRemaining;
|
||||
|
||||
private static function instantiate($url, $info) {
|
||||
|
@ -69,5 +69,5 @@ class SSL {
|
|||
$diff=date_diff($date1,$date2);
|
||||
return ltrim($diff->format("%R%a"), "+");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user