Prado\Util\TEmailLogRoute::init PHP Метод

init() публичный Метод

Initializes the route.
public init ( $config )
    public function init($config)
    {
        if ($this->_from === '') {
            $this->_from = ini_get('sendmail_from');
        }
        if ($this->_from === '') {
            throw new TConfigurationException('emaillogroute_sentfrom_required');
        }
    }