Small fix for validated NULL cafile in config
parent
cb32c480be
commit
6f0f17355f
|
@ -288,7 +288,7 @@ EOT
|
||||||
'disable-tls' => array($booleanValidator, $booleanNormalizer),
|
'disable-tls' => array($booleanValidator, $booleanNormalizer),
|
||||||
'cafile' => array(
|
'cafile' => array(
|
||||||
function ($val) { return file_exists($val) && is_readable($val); }
|
function ($val) { return file_exists($val) && is_readable($val); }
|
||||||
function ($val) { return $val; }
|
function ($val) { return $val === 'null' ? null : $val; }
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$multiConfigValues = array(
|
$multiConfigValues = array(
|
||||||
|
|
Loading…
Reference in New Issue