Some logo fixes and ability to use selfsigned certs

This commit is contained in:
2026-09-18 11:40:57 +03:00
parent f17a357795
commit 2fc905986a
5 changed files with 20 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
if (filter_var(getenv('ROUNDCUBE_ALLOW_SELF_SIGNED_CERT'), FILTER_VALIDATE_BOOLEAN)) {
$tls_options = [
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true,
];
$config['imap_conn_options'] = ['ssl' => $tls_options];
$config['smtp_conn_options'] = ['ssl' => $tls_options];
}