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
mesh
meshmap
Commits
b03aea08
Commit
b03aea08
authored
Mar 28, 2018
by
Eric - kg6wxc
Browse files
fixed log warning about empty needle on line 181 of map_display
parent
91575e10
Changes
1
Hide whitespace changes
Inline
Side-by-side
webpage/map_display.php
View file @
b03aea08
...
...
@@ -178,7 +178,7 @@ echo "<script src='javascripts/leaflet-hash.js'></script>\n";
//we're just going to tell if we were called from a host that has ".local.mesh" in it and forget all this nonsense...
global
$mesh
;
$httpHostName
=
$_SERVER
[
'HTTP_HOST'
];
if
(
strpos
(
$httpHostName
,
'.local.mesh'
)
||
strpos
(
$httpHostName
,
''
))
{
if
(
strpos
(
$httpHostName
,
'.local.mesh'
)
)
{
//
|| strpos($httpHostName, '')) {
$mesh
=
1
;
}
...
...
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