PEAR_ChannelFile::addMirror

PEAR_ChannelFile::addMirror() – addMirror

Synopsis

require_once '/ChannelFile.php';

boolean PEAR_ChannelFile::addMirror ( string $server , int $port = null )

Description

Add a mirror server. Note that mirrors must be added to a channel.xml in order for users to use them. Unofficial mirrors are not allowed without user intervention.

Parameter

string $server

mirror server

integer $port

mirror http port

Throws

throws no exceptions thrown

Note

This function can not be called statically.