Changed the config table to phpgw_config

This commit is contained in:
jengo 2001-02-08 19:35:32 +00:00
parent 015a627b1e
commit d6c0c7359b

View File

@ -27,7 +27,7 @@
$common = new common; $common = new common;
$phpgw_setup->loaddb(); $phpgw_setup->loaddb();
$phpgw_setup->db->query("select config_name,config_value from config where config_name like 'ldap%'",__LINE__,__FILE__); $phpgw_setup->db->query("select config_name,config_value from phpgw_config where config_name like 'ldap%'",__LINE__,__FILE__);
while ($phpgw_setup->db->next_record()) { while ($phpgw_setup->db->next_record()) {
$config[$phpgw_setup->db->f("config_name")] = $phpgw_setup->db->f("config_value"); $config[$phpgw_setup->db->f("config_name")] = $phpgw_setup->db->f("config_value");
} }
@ -120,7 +120,7 @@
} }
if ($setup_complete) { if ($setup_complete) {
$phpgw_setup->db->query("select config_value from config where config_name='webserver_url'",__LINE__,__FILE__); $phpgw_setup->db->query("select config_value from phpgw_config where config_name='webserver_url'",__LINE__,__FILE__);
$phpgw_setup->db->next_record(); $phpgw_setup->db->next_record();
echo '<br><center>Setup has been completed! Click <a href="' . $phpgw_setup->db->f("config_value") echo '<br><center>Setup has been completed! Click <a href="' . $phpgw_setup->db->f("config_value")
. '/login.php">here</a> to login</center>'; . '/login.php">here</a> to login</center>';