1
0
Fork 0

Small fix for validated NULL cafile in config

pull/2745/head
Pádraic Brady 2014-02-28 20:43:53 +00:00
parent cb32c480be
commit 6f0f17355f
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ EOT
'disable-tls' => array($booleanValidator, $booleanNormalizer),
'cafile' => array(
function ($val) { return file_exists($val) && is_readable($val); }
function ($val) { return $val; }
function ($val) { return $val === 'null' ? null : $val; }
)
);
$multiConfigValues = array(