Show
Ignore:
Timestamp:
07/07/09 21:57:06 (3 years ago)
Author:
john
Message:

updates

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/action_mailer.php

    r289 r313  
    221221        $this->headers = $this->headers ? $this->headers : array(); 
    222222        $this->body = $this->body ? $this->body : array(); 
    223         $this->default_from = "nobody@".$_SERVER['HTTP_HOST']; 
     223        $this->default_from = "nobody@".($_SERVER['HTTP_HOST'] ? $_SERVER['HTTP_HOST'] : 'domain.com'); 
    224224        $this->head_charset = $this->head_charset ? $this->head_charset : $this->default_charset; 
    225225        $this->html_charset = $this->html_charset ? $this->html_charset : $this->default_charset;