-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Nome incorreto da chave de configuração ao configurar certificad…
…os de segurança do comunicador
- Loading branch information
1 parent
7410ad4
commit 473232e
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
namespace TIExpert\WSBoletoSantander; | ||
|
||
/** | ||
* Classe que trata a comunicação entre a extensão Curl e um serviço SOAP | ||
* Classe que trata a comunicação entre a extensão Curl e um serviço SOAP de registro de boletos no Santander | ||
* | ||
* @author Denys Xavier <[email protected]> | ||
*/ | ||
|
@@ -103,7 +103,7 @@ public function configurarCertificadosDeSeguranca(&$arrayConfig) { | |
$arrayConfig[CURLOPT_SSLCERT] = $conf->getCertificado("arquivo"); | ||
$arrayConfig[CURLOPT_SSLCERTPASSWD] = $conf->getCertificado("senha"); | ||
|
||
if ($conf->getGeral("verificar_santander") == true) { | ||
if ($conf->getGeral("assegurar_endpoint") === true) { | ||
if ($conf->getCertificado("arquivo_ca") != "") { | ||
$arrayConfig[CURLOPT_CAINFO] = $conf->getCertificado("arquivo_ca"); | ||
} | ||
|