Working on fixing LDAP support

This commit is contained in:
jengo 2000-11-17 13:14:23 +00:00
parent 5b6dad867f
commit bbecb483c0

View File

@ -53,8 +53,13 @@
$db->query("insert into config (config_name, config_value) values ('" . addslashes($newsetting[0]) $db->query("insert into config (config_name, config_value) values ('" . addslashes($newsetting[0])
. "','" . addslashes($newsetting[1]) . "')"); . "','" . addslashes($newsetting[1]) . "')");
} }
if ($newsettings["authtype"] == "ldap") {
Header("Location: ldap.php");
exit;
} else {
echo "<center>Your config has been updated<br><a href='".$newsettings["webserver_url"]."/login.php'>Click here to login</a>"; echo "<center>Your config has been updated<br><a href='".$newsettings["webserver_url"]."/login.php'>Click here to login</a>";
} }
}
@$db->query("select * from config"); @$db->query("select * from config");
while (@$db->next_record()) { while (@$db->next_record()) {