mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 04:04:12 +02:00
[ticket/13558] Change options prefix and add settings precautions.
PHPBB3-13558
This commit is contained in:
@@ -1048,9 +1048,9 @@ function smtpmail($addresses, $subject, $message, &$err_msg, $headers = false)
|
||||
$collector->install();
|
||||
|
||||
$options = array();
|
||||
$verify_peer = (bool) $config['ssl_verify_peer'];
|
||||
$verify_peer_name = (bool) $config['ssl_verify_peer_name'];
|
||||
$allow_self_signed = (bool) $config['ssl_allow_self_signed'];
|
||||
$verify_peer = (bool) $config['smtp_verify_peer'];
|
||||
$verify_peer_name = (bool) $config['smtp_verify_peer_name'];
|
||||
$allow_self_signed = (bool) $config['smtp_allow_self_signed'];
|
||||
$remote_socket = $config['smtp_host'] . ':' . $config['smtp_port'];
|
||||
|
||||
// Set ssl context options, see http://php.net/manual/en/context.ssl.php
|
||||
|
Reference in New Issue
Block a user