mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 02:18:39 +00:00
Update Port Real Time Graph error (#15846)
* Update graph-realtime.php Fix Typo * Update realtime.inc.php
This commit is contained in:
parent
4c7181d010
commit
80e0ee44f5
@ -19,7 +19,7 @@ if (is_numeric($_GET['id']) && (Config::get('allow_unauth_graphs') || port_permi
|
||||
$title .= ' :: Port ' . generate_port_link($port);
|
||||
$auth = true;
|
||||
} else {
|
||||
echo 'Unauthenticad';
|
||||
echo 'Unauthenticated';
|
||||
exit;
|
||||
}
|
||||
|
||||
|
@ -37,6 +37,6 @@ print_optionbar_end();
|
||||
<div align="center" style="margin: 30px;">
|
||||
<object data="graph-realtime.php?type=bits&id=<?php echo $port['port_id'] . '&interval=' . htmlspecialchars($vars['interval']); ?>" type="image/svg+xml" width="1000" height="400">
|
||||
<param name="src" value="graph.php?type=bits&id=<?php echo $port['port_id'] . '&interval=' . htmlspecialchars($vars['interval']); ?>" />
|
||||
Your browser does not support the type SVG! You need to either use Firefox or download the Adobe SVG plugin.
|
||||
<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options">Your webserver has header X-Frame-Options set to DENY. Please change to SAMEORIGIN for realtime graphs.</a>
|
||||
</object>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user