Bernd Wurst commited on 2016-03-12 20:38:47
Zeige 1 geänderte Dateien mit 2 Einfügungen und 1 Löschungen.
| ... | ... |
@@ -57,8 +57,9 @@ function cert_details($id) |
| 57 | 57 |
function cert_is_letsencrypt($id) |
| 58 | 58 |
{
|
| 59 | 59 |
$details = cert_details($id); |
| 60 |
+ DEBUG($details); |
|
| 60 | 61 |
if ($details['chain'] == config('letsencrypt_chain') &&
|
| 61 |
- strstr($details['subject'], "Let's Encrypt autogenerated") > 0) {
|
|
| 62 |
+ strpos($details['subject'], "Let's Encrypt autogenerated") > 0) {
|
|
| 62 | 63 |
return true; |
| 63 | 64 |
} |
| 64 | 65 |
return false; |
| 65 | 66 |