1
0
Fork 0

Fix old-php support

pull/4759/head
Jordi Boggiano 2016-01-10 20:25:22 +00:00
parent c1cc6bfecf
commit e4eee227e0
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ class Factory
} }
$remoteFilesystemOptions = array(); $remoteFilesystemOptions = array();
if ($disableTls === false) { if ($disableTls === false) {
if (isset($config) && !empty($config->get('cafile'))) { if (isset($config) && $config->get('cafile')) {
$remoteFilesystemOptions = array('ssl' => array('cafile' => $config->get('cafile'))); $remoteFilesystemOptions = array('ssl' => array('cafile' => $config->get('cafile')));
} }
$remoteFilesystemOptions = array_merge_recursive($remoteFilesystemOptions, $options); $remoteFilesystemOptions = array_merge_recursive($remoteFilesystemOptions, $options);