Skip to content
GitLab
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
03dad4fa
Commit
03dad4fa
authored
Apr 22, 2014
by
Leigh B Stoller
Browse files
Enable adminflag toggle for all, not just GENIRACK=1
parent
d32fab1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/toggle.php
View file @
03dad4fa
...
...
@@ -126,7 +126,7 @@ elseif ($type == "webfreeze") {
}
elseif
(
$type
==
"adminflag"
)
{
# This is active on geni racks only.
if
(
!
$GENIRACK
)
{
if
(
1
||
!
$GENIRACK
)
{
USERERROR
(
"This toggle is disabled on non-geni racks!"
,
1
);
}
# must be admin
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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