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
6bab8515
Commit
6bab8515
authored
Apr 24, 2003
by
Leigh B. Stoller
Browse files
Allow /groups path for local NS file.
parent
9ff5ef1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/nscheck.php3
View file @
6bab8515
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
2
University of Utah and the Flux Group.
# Copyright (c) 2000-200
3
University of Utah and the Flux Group.
# All rights reserved.
#
include
(
"defs.php3"
);
...
...
@@ -62,7 +62,8 @@ if ($speclocal) {
# is a security worry, but good to enforce it anyway.
#
if
(
!
ereg
(
"^
$TBPROJ_DIR
/.*"
,
$exp_localnsfile
)
&&
!
ereg
(
"^
$TBUSER_DIR
/.*"
,
$exp_localnsfile
))
{
!
ereg
(
"^
$TBUSER_DIR
/.*"
,
$exp_localnsfile
)
&&
!
ereg
(
"^
$TBGROUP_DIR
/.*"
,
$exp_localnsfile
))
{
USERERROR
(
"You must specify a server resident in file in either "
.
"
$TBUSER_DIR
/ or
$TBPROJ_DIR
/"
,
1
);
}
...
...
Write
Preview
Markdown
is supported
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