Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
1c60fed9
Commit
1c60fed9
authored
Feb 04, 2014
by
Leigh B Stoller
Browse files
Fix for cookies, I think.
parent
e8d4bf0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/quickvm.php
View file @
1c60fed9
...
...
@@ -491,12 +491,8 @@ if (! $creator) {
# set the cookie appropriately.
#
if
(
!
$this_user
)
{
if
(
stristr
(
$_SERVER
[
"SERVER_NAME"
],
$TBAUTHDOMAIN
))
{
$cookiedomain
=
$TBAUTHDOMAIN
;
}
else
{
$cookiedomain
=
$_SERVER
[
"SERVER_NAME"
];
}
$cookiedomain
=
$TBAUTHDOMAIN
;
setcookie
(
"quickvm_user"
,
$creator
->
uuid
(),
time
()
+
(
24
*
3600
*
30
),
"/"
,
$cookiedomain
,
0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment