选择语言 :

 Core_Email::__construct

Constructor - Sets Email Preferences

The constructor can be passed an array of config values

void Core_Email::__construct( )
返回值
  • void
File: ./core/classes/email.class.php
public function __construct($config = array())
{
    if (count($config) > 0)
    {
        $this->initialize($config);
    }
    else
    {
        $this->_smtp_auth = ! ($this->smtp_user === '' && $this->smtp_pass === '');
        $this->_safe_mode = (bool) @ini_get('safe_mode');
    }
}