diff options
| author | the_systech <the_systech@users.sourceforge.net> | 2002-03-19 23:21:23 +0000 |
|---|---|---|
| committer | the_systech <the_systech@users.sourceforge.net> | 2002-03-19 23:21:23 +0000 |
| commit | 781fda57996a838285330f9d6779539c8853d33f (patch) | |
| tree | 03dd906e953b7747797e5da38d403b7924db4922 /phpBB/upgrade.php | |
| parent | 6c36b72138448775f8f6805966106fab60b66aad (diff) | |
| download | forums-781fda57996a838285330f9d6779539c8853d33f.tar forums-781fda57996a838285330f9d6779539c8853d33f.tar.gz forums-781fda57996a838285330f9d6779539c8853d33f.tar.bz2 forums-781fda57996a838285330f9d6779539c8853d33f.tar.xz forums-781fda57996a838285330f9d6779539c8853d33f.zip | |
Various updates for install and upgrade...
git-svn-id: file:///svn/phpbb/trunk@2363 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/upgrade.php')
| -rw-r--r-- | phpBB/upgrade.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/phpBB/upgrade.php b/phpBB/upgrade.php index e8af359d97..d271c390ab 100644 --- a/phpBB/upgrade.php +++ b/phpBB/upgrade.php @@ -1805,6 +1805,27 @@ if ( !empty($next) ) VALUES ('board_startdate', " . $row['oldest_time'] . ")"; query($sql, "Couldn't insert board_startdate"); + $sql = "UPDATE " . $table_prefix . "config + SET config_value = '" . $server_name . "' + WHERE config_name = 'server_name' + OR config_name = 'cookie_domain'"; + query($sql, "Couldn't insert Board Server domain"); + + $sql = "UPDATE " . $table_prefix . "config + SET config_value = '" . $server_port . "' + WHERE config_name = 'server_port'"; + query($sql, "Couldn't insert Board server port"); + + $sql = "UPDATE " . $table_prefix . "config + SET config_value = '" . $board_email . "' + WHERE config_name = 'board_email'"; + query($sql, "Couldn't insert Board admin email"); + + $sql = "UPDATE " . $table_prefix . "config + SET config_value = '" . $script_path . "' + WHERE config_name = 'script_path'"; + query($sql, "Couldn't insert Board admin email"); + // // Change session table to HEAP if MySQL version matches // |
