aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-17 17:51:59 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-17 17:51:59 +0000
commitf027b477f4a8f277f29544cd9c2555efafdac121 (patch)
tree7c9a3f3c5ae9f52960dcdd35a4bf8245a440563e /phpBB/privmsg.php
parent0ed464fae67285bcc734cc8ebbbbfd14cb3562aa (diff)
downloadforums-f027b477f4a8f277f29544cd9c2555efafdac121.tar
forums-f027b477f4a8f277f29544cd9c2555efafdac121.tar.gz
forums-f027b477f4a8f277f29544cd9c2555efafdac121.tar.bz2
forums-f027b477f4a8f277f29544cd9c2555efafdac121.tar.xz
forums-f027b477f4a8f277f29544cd9c2555efafdac121.zip
Hopefully addresses bug #481831 ... changed REQUEST_URI to SCRIPT_NAME which seems common
git-svn-id: file:///svn/phpbb/trunk@1351 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php
index c8eca3a2b1..d3c54be750 100644
--- a/phpBB/privmsg.php
+++ b/phpBB/privmsg.php
@@ -987,7 +987,7 @@ else if( $submit || $refresh || $mode != "" )
{
if( $to_userdata['user_notify_pm'] && !empty($to_userdata['user_email']) )
{
- $path = (dirname($HTTP_SERVER_VARS['REQUEST_URI']) == "/") ? "" : dirname($HTTP_SERVER_VARS['REQUEST_URI']);
+ $path = (dirname($HTTP_SERVER_VARS['SCRIPT_NAME']) == "/") ? "" : dirname($HTTP_SERVER_VARS['SCRIPT_NAME']);
$server_name = ( isset($HTTP_SERVER_VARS['HTTP_HOST']) ) ? $HTTP_SERVER_VARS['HTTP_HOST'] : $HTTP_SERVER_VARS['SERVER_NAME'];
$email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";