PEAR_ChannelFile::setSSL
PEAR_ChannelFile::setSSL() – Sets whether SSL is used to connect to this channel
Synopsis
require_once '/ChannelFile.php';
void
PEAR_ChannelFile::setSSL
(
bool
$ssl
= true
,
string|false
$mirror
= false
)
Description
This function is used to inform the PEAR installer to use SSL when connecting to this channel server.
Parameter
-
boolean
$ssl
-
Determines whether to turn on SSL support or turn it off
-
string|FALSE
$mirror
-
name of the mirror server, or FALSE for the primary server
Throws
throws no exceptions thrown
Note
This function can not be called statically.