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-stable
Commits
be99b097
Commit
be99b097
authored
Jan 11, 2005
by
Leigh B. Stoller
Browse files
Oops, dabbrevs error ... change TBWebdbAllowed to TBWebCamAllowed().
parent
d46902e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
www/robotmap.php3
View file @
be99b097
...
...
@@ -205,7 +205,7 @@ echo " Click on the dots below to see information about the robot\n";
echo
" <br>
\n
"
;
echo
" Click elsewhere to get its x,y location.
\n
"
;
echo
" <br>
\n
"
;
if
(
$isadmin
||
TBWeb
db
Allowed
(
$uid
))
{
if
(
$isadmin
||
TBWeb
Cam
Allowed
(
$uid
))
{
echo
" There is a nifty <a href=webcam.php3>webcam image</a> of the"
;
echo
" robots too
\n
"
;
echo
" <br>
\n
"
;
...
...
www/webcam.php3
View file @
be99b097
...
...
@@ -39,7 +39,7 @@ if (!$admins_can_view || (!$anyone_can_view && !$isadmin)) {
#
# Now check permission.
#
if
(
!
$isadmin
&&
!
TBWeb
db
Allowed
(
$uid
))
{
if
(
!
$isadmin
&&
!
TBWeb
Cam
Allowed
(
$uid
))
{
MyError
(
"Not enough permission to view the robot cameras!"
);
}
...
...
www/webcamimg.php3
View file @
be99b097
...
...
@@ -64,7 +64,7 @@ if (!$admins_can_view || (!$anyone_can_view && !$isadmin)) {
#
# Now check permission.
#
if
(
!
$isadmin
&&
!
TBWeb
db
Allowed
(
$uid
))
{
if
(
!
$isadmin
&&
!
TBWeb
Cam
Allowed
(
$uid
))
{
MyError
(
"Not enough permission to view the robot cameras!"
);
}
...
...
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