Ticket #1727: x_origin_2_2_0_rc1.patch

File x_origin_2_2_0_rc1.patch, 539 bytes (added by diegomoreno, 13 years ago)

Patch para exibir 'X-Origin' versao 2.2.0_rc1

  • class.phpmailer.php

     
    974974                $result .= $this->AddrAppend("Cc", $this->cc); 
    975975        } 
    976976 
     977                $result .= $this->HeaderLine("X-Origin", isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']);  
     978 
    977979                $from = array(); 
    978980                $from[0][0] = trim($this->From); 
    979981                $from[0][1] = $this->FromName;