Changeset 9b54e0b in github


Ignore:
Timestamp:
Sep 20, 2007 9:36:57 AM (6 years ago)
Author:
svncommit <devs@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
c454710
Parents:
aca3d25
Message:

Fix order of checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_smtp.inc

    raca3d25 r9b54e0b  
    7777  if (!is_object($smtp_conn)) 
    7878    { 
    79     $helo_host = !empty($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : (!empty($CONFIG['smtp_helo_host']) ? $CONFIG['smtp_helo_host'] : 'localhost'); 
     79    $helo_host = empty($CONFIG['smtp_helo_host']) ? (empty($_SERVER['SERVER_NAME']) ? 'localhost' : $_SERVER['SERVER_NAME']) : $CONFIG['smtp_helo_host']; 
    8080    $SMTP_CONN = new Net_SMTP($smtp_host, $smtp_port, $helo_host); 
    8181 
Note: See TracChangeset for help on using the changeset viewer.