removed last hard-coded references to LostCave fixing #27

master
BodgeMaster 2021-09-02 08:46:00 +02:00
parent c3563cafc3
commit 8748d17753
1 changed files with 3 additions and 3 deletions

View File

@ -15,15 +15,15 @@ if ($statement->rowCount() > 0) {
// IP and user agent string are used to prevent cheap session stealing
$_SESSION['user_ip'] = $_SERVER['REMOTE_ADDR'];
$_SESSION['user_http_user_agent'] = $_SERVER['HTTP_USER_AGENT'];
header("Location: https://threadr.lostcave.ddnss.de/threadr/userhome/");
header("Location: https://%DOMAIN_NAME%%CONTENT_DIR%/userhome/");
} else {
//password inorrect
header("Location: https://threadr.lostcave.ddnss.de/threadr/login/?error=credentials");
header("Location: https://%DOMAIN_NAME%%CONTENT_DIR%/login/?error=credentials");
die();
}
} else {
//wrong user name
header("Location: https://threadr.lostcave.ddnss.de/threadr/login/?error=credentials");
header("Location: https://%DOMAIN_NAME%%CONTENT_DIR%/login/?error=credentials");
die();
}
?>