aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-10-30 00:57:27 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-10-30 00:57:27 +0000
commit691f50ada9386a63c53a473a44b835a8b1ca5978 (patch)
treebe18990bb0ae925485bc4785b15f648ca8cb2e9d /phpBB/profile.php
parent9075298051fca5bc78713f455fc58d99e677e77a (diff)
downloadforums-691f50ada9386a63c53a473a44b835a8b1ca5978.tar
forums-691f50ada9386a63c53a473a44b835a8b1ca5978.tar.gz
forums-691f50ada9386a63c53a473a44b835a8b1ca5978.tar.bz2
forums-691f50ada9386a63c53a473a44b835a8b1ca5978.tar.xz
forums-691f50ada9386a63c53a473a44b835a8b1ca5978.zip
Changed $board_config to $config, more posting "stuff", altered polling code in viewtopic and loads of new problems, poor coding, etc. created :)
git-svn-id: file:///svn/phpbb/trunk@2983 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r--phpBB/profile.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php
index 5443c5121d..20e33ce027 100644
--- a/phpBB/profile.php
+++ b/phpBB/profile.php
@@ -32,11 +32,11 @@ $auth->acl($user->data);
// End session management
// Set default email variables
-$script_name = preg_replace('/^\/?(.*?)\/?$/', '\1', trim($board_config['script_path']));
+$script_name = preg_replace('/^\/?(.*?)\/?$/', '\1', trim($config['script_path']));
$script_name = ( $script_name != '' ) ? $script_name . '/profile.'.$phpEx : 'profile.'.$phpEx;
-$server_name = trim($board_config['server_name']);
-$server_protocol = ( $board_config['cookie_secure'] ) ? 'https://' : 'http://';
-$server_port = ( $board_config['server_port'] <> 80 ) ? ':' . trim($board_config['server_port']) . '/' : '/';
+$server_name = trim($config['server_name']);
+$server_protocol = ( $config['cookie_secure'] ) ? 'https://' : 'http://';
+$server_port = ( $config['server_port'] <> 80 ) ? ':' . trim($config['server_port']) . '/' : '/';
$server_url = $server_protocol . $server_name . $server_port . $script_name;