PEAR_ChannelFile::addMirror

PEAR_ChannelFile::addMirror() – addMirror

Synopsis

require_once '/ChannelFile.php';

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

Description

Ajoute un serveur miroir. Notez que tous les miroirs doivent être ajoutés à un channel.xml afin, pour les utilisateurs, de les utiliser. Les miroirs non officiels ne sont pas autorisés sans une intervention de l'utilisateur.

Parameter

string $server

Serveur miroir

integer $port

Port http du miroir

Throws

No exceptions thrown.

Note

This function can not be called statically.