mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
clean up MAC change reporting, graph error size
git-svn-id: http://www.observium.org/svn/observer/trunk@1734 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -59,7 +59,7 @@ function graph_error ($string)
|
||||
{
|
||||
global $width, $height;
|
||||
header('Content-type: image/png');
|
||||
if($height > "99") { $width +=76; }
|
||||
if($height > "99") { $width +=75; }
|
||||
$im = imagecreate($width, $height);
|
||||
$orange = imagecolorallocate($im, 255, 225, 225);
|
||||
$px = (imagesx($im) - 7.5 * strlen($string)) / 2;
|
||||
|
||||
Reference in New Issue
Block a user