diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-03-17 15:23:57 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-03-17 15:23:57 +0000 |
commit | a80f7a5ea10b039ec1549d391ecd8431240c640e (patch) | |
tree | f17ec65d963e4792c3644800b618676fae6a08bc /phpBB/includes/session.php | |
parent | 7a23115600099375c1fdbd53084f0d2815ecfd38 (diff) | |
download | forums-a80f7a5ea10b039ec1549d391ecd8431240c640e.tar forums-a80f7a5ea10b039ec1549d391ecd8431240c640e.tar.gz forums-a80f7a5ea10b039ec1549d391ecd8431240c640e.tar.bz2 forums-a80f7a5ea10b039ec1549d391ecd8431240c640e.tar.xz forums-a80f7a5ea10b039ec1549d391ecd8431240c640e.zip |
Use FQDN for SMTP EHLO/HELO command. (Bug #41025)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9387 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r-- | phpBB/includes/session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 49f97f6050..b01d0b2281 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -182,7 +182,7 @@ class session else { // Set to OS hostname or localhost - $host = (function_exists('php_uname')) ? php_uname('n') : 'localhost'; + $host = (function_exists('php_uname')) ? gethostbyaddr(gethostbyname(php_uname('n'))) : 'localhost'; } } |