mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-04 06:39:14 +02:00
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
This commit is contained in:
parent
28fa6e80a9
commit
dbe542f03a
@ -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) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user