public __construct ( array $config ) | ||
$config | array | FTP配置 |
public function __construct($config)
{
/* 默认FTP配置 */
$this->config = array_merge($this->config, $config);
$this->config['password'] = md5($this->config['password']);
}