mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
err, fix map typos
git-svn-id: http://www.observium.org/svn/observer/trunk@2651 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -156,12 +156,12 @@ if (isset($_GET['format']) && preg_match("/^[a-z]*$/", $_GET['format']))
|
||||
|
||||
if ($links > 10) ### Unflatten if there are more than 10 links. beyond that it gets messy
|
||||
{
|
||||
$maptool = $config['unflatten'] ' -f -l 5 | ' . $config['dot'];
|
||||
$maptool = $config['unflatten'] . ' -f -l 5 | ' . $config['dot'];
|
||||
} else {
|
||||
$maptool = $config['dot'];
|
||||
}
|
||||
|
||||
if ($where == '') { $maptool = $config['sdfp'] ' -Gpack -Gcharset=latin1 -Gsize=200,200'; }
|
||||
if ($where == '') { $maptool = $config['sdfp'] . ' -Gpack -Gcharset=latin1 -Gsize=200,200'; }
|
||||
|
||||
$img = shell_exec("echo \"".addslashes($map)."\" | $maptool -T".$_GET['format']."");
|
||||
if ($_GET['format'] == "png")
|
||||
|
Reference in New Issue
Block a user