fixes for rfc compliant destinations

This commit is contained in:
skeeter 2001-03-10 20:11:51 +00:00
parent 922c7b03c9
commit 90febe7d8f

View File

@ -50,11 +50,11 @@
. "','" . addslashes($newsetting[1]) . "')"); . "','" . addslashes($newsetting[1]) . "')");
} }
if ($newsettings["auth_type"] == "ldap") { if ($newsettings["auth_type"] == "ldap") {
Header("Location: ldap.php"); Header('Location: '.$newsettings['webserver_url'].'/setup/ldap.php');
exit; exit;
} else { } 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>";
Header("Location: index.php"); Header("Location: '.$newsettings['webserver_url'].'/index.php');
exit; exit;
} }
} }