Cookie angepasst für Subdomain; Verweise auf alten Webserver
This commit is contained in:
@ -64,7 +64,7 @@ if ($function == 'login')
|
||||
$result_debug = $db->query("INSERT INTO kurs_debug (uid, passwort, logindat, success) VALUES ('$row[uid]', '$password', '$heute_format', 'Y')");
|
||||
}
|
||||
if(isset($row['uid'])){
|
||||
setcookie("uid1","$row[uid]", NULL,'/');
|
||||
setcookie("uid1","$row[uid]", NULL,'/','hs-ludwigsburg.de');
|
||||
$_SESSION['global_uid'] = $row['uid'];
|
||||
$_SESSION['global_stg'] = $row['stg'];
|
||||
$_SESSION['global_hs'] = $row['hs'];
|
||||
|
Reference in New Issue
Block a user