mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-10 23:32:38 +00:00
Trying to fix the cookie problem.
This commit is contained in:
parent
68e27e95fe
commit
dc476ca417
1 changed files with 1 additions and 2 deletions
|
@ -185,7 +185,7 @@ CREATE TABLE members (
|
||||||
$db = @mysql_connect (sqlHost, sqlUser, sqlPass);
|
$db = @mysql_connect (sqlHost, sqlUser, sqlPass);
|
||||||
|
|
||||||
global $userName, $password, $loginInfo, $userInfo;
|
global $userName, $password, $loginInfo, $userInfo;
|
||||||
|
|
||||||
if ($loginInfo) {
|
if ($loginInfo) {
|
||||||
$userName = authCookie ($loginInfo, $userName, $password);
|
$userName = authCookie ($loginInfo, $userName, $password);
|
||||||
} else {
|
} else {
|
||||||
|
@ -199,5 +199,4 @@ CREATE TABLE members (
|
||||||
" WHERE u_username='$userName'";
|
" WHERE u_username='$userName'";
|
||||||
$userInfo = @mysql_fetch_array (@mysql_db_query (sqlDB, $query));
|
$userInfo = @mysql_fetch_array (@mysql_db_query (sqlDB, $query));
|
||||||
@mysql_close ($db);
|
@mysql_close ($db);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue