Skip to content

Commit 80e0ee4

Browse files
authoredFeb 22, 2024
Update Port Real Time Graph error (librenms#15846)
* Update graph-realtime.php Fix Typo * Update realtime.inc.php
1 parent 4c7181d commit 80e0ee4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎html/graph-realtime.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
$title .= ' :: Port ' . generate_port_link($port);
2020
$auth = true;
2121
} else {
22-
echo 'Unauthenticad';
22+
echo 'Unauthenticated';
2323
exit;
2424
}
2525

‎includes/html/pages/device/port/realtime.inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
<div align="center" style="margin: 30px;">
3838
<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">
3939
<param name="src" value="graph.php?type=bits&id=<?php echo $port['port_id'] . '&interval=' . htmlspecialchars($vars['interval']); ?>" />
40-
Your browser does not support the type SVG! You need to either use Firefox or download the Adobe SVG plugin.
40+
<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>
4141
</object>
4242
</div>

0 commit comments

Comments
 (0)
Please sign in to comment.