|
From: Paul S. O. <ps...@us...> - 2002-02-13 16:43:10
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv15010
Modified Files:
update_to_RC3.php
Log Message:
Admit defeat with auto-sensing server/script path details and instead grab from user config ... changes here introduce the new vars
Index: update_to_RC3.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/update_to_RC3.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** update_to_RC3.php 12 Feb 2002 13:51:09 -0000 1.10
--- update_to_RC3.php 13 Feb 2002 16:43:06 -0000 1.11
***************
*** 257,260 ****
--- 257,281 ----
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')";
|