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