aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/update_to_RC3.php21
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) )