Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
22cbd3ed
Commit
22cbd3ed
authored
Jul 10, 2018
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove debugging code.
parent
1a2c8433
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
www/aptui/status.php
www/aptui/status.php
+0
-3
No files found.
www/aptui/status.php
View file @
22cbd3ed
...
...
@@ -98,8 +98,6 @@ if (!$instance) {
# When coming her via the slice_uuid, we want to flip over to the
# correct portal. Hacky.
#
error_log
(
$instance
->
servername
());
error_log
(
$_SERVER
[
'SERVER_NAME'
]);
if
(
$TBMAINSITE
&&
isset
(
$slice_uuid
)
&&
$instance
->
servername
()
!=
$_SERVER
[
'SERVER_NAME'
])
{
if
(
$instance
->
servername
()
==
"www.aptlab.net"
)
{
...
...
@@ -114,7 +112,6 @@ if ($TBMAINSITE && isset($slice_uuid) &&
elseif
(
$instance
->
servername
()
==
"www.powderwireless.net"
)
{
$url
=
"https://www.powderwireless.net"
;
}
error_log
(
$url
);
if
(
isset
(
$url
))
{
$url
=
$url
.
str_replace
(
"/portal/"
,
"/"
,
$_SERVER
[
'REQUEST_URI'
]);
header
(
"Location:
$url
"
);
...
...
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