mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Fixing Typo
cert should not be a constant but a 'cert' string
This commit is contained in:
committed by
Franco Fichtner
parent
fa1bcce94c
commit
37bf44991c
@@ -113,7 +113,7 @@ foreach ($configNodes as $key => $value) {
|
||||
continue;
|
||||
}
|
||||
// check if a default certificate is configured
|
||||
if (($type == cert) and isset($child->ssl_default_certificate) and (string)$child->ssl_default_certificate != "") {
|
||||
if (($type == 'cert') and isset($child->ssl_default_certificate) and (string)$child->ssl_default_certificate != "") {
|
||||
$default_cert = (string)$child->ssl_default_certificate;
|
||||
$default_cert_filename = $export_path . $default_cert . ".pem";
|
||||
// ensure that the default certificate is the first entry on the list
|
||||
|
||||
Reference in New Issue
Block a user