diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-02-13 16:43:06 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-02-13 16:43:06 +0000 |
commit | dbe542f03a04cdc2e393796e66200751d296a2b5 (patch) | |
tree | 1e0cd5a558355263871baea4511b7fbd82b82447 | |
parent | 28fa6e80a93ddd48fac451fc9ea07d2e1b8ec8aa (diff) | |
download | forums-dbe542f03a04cdc2e393796e66200751d296a2b5.tar forums-dbe542f03a04cdc2e393796e66200751d296a2b5.tar.gz forums-dbe542f03a04cdc2e393796e66200751d296a2b5.tar.bz2 forums-dbe542f03a04cdc2e393796e66200751d296a2b5.tar.xz forums-dbe542f03a04cdc2e393796e66200751d296a2b5.zip |
Admit defeat with auto-sensing server/script path details and instead grab from user config ... changes here introduce the new vars
git-svn-id: file:///svn/phpbb/trunk@2130 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/update_to_RC3.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/phpBB/update_to_RC3.php b/phpBB/update_to_RC3.php index 73fbfd87b1..2568c54bc6 100644 --- a/phpBB/update_to_RC3.php +++ b/phpBB/update_to_RC3.php @@ -256,6 +256,27 @@ if ( $row = $db->sql_fetchrow($result) ) print "<br />Updating config settings<br />"; +$sql = "INSERT INTO " . CONFIG_TABLE . " + (config_name, config_value) VALUES ('server_name', 'www.myserver.tld')"; +if( !$db->sql_query($sql) ) +{ + die("Couldn't insert config key 'record_online_date'"); +} + +$sql = "INSERT INTO " . CONFIG_TABLE . " + (config_name, config_value) VALUES ('script_path', '/phpBB2/')"; +if( !$db->sql_query($sql) ) +{ + die("Couldn't insert config key 'record_online_date'"); +} + +$sql = "INSERT INTO " . CONFIG_TABLE . " + (config_name, config_value) VALUES ('server_port', '80')"; +if( !$db->sql_query($sql) ) +{ + die("Couldn't insert config key 'record_online_date'"); +} + $sql = "INSERT INTO " . CONFIG_TABLE . " (config_name, config_value ) VALUES ('version', 'RC-3')"; if ( !$db->sql_query($sql) ) |