From 57ab3c6b91688da150a85d41afec1ec4ce3f07a2 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Wed, 5 Oct 2011 14:13:09 +0000 Subject: [PATCH] err, fix map typos git-svn-id: http://www.observium.org/svn/observer/trunk@2651 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/map.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/map.php b/html/map.php index 9b78b75952..dde556e026 100755 --- a/html/map.php +++ b/html/map.php @@ -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")