aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/detail.php
diff options
context:
space:
mode:
Diffstat (limited to 'detail.php')
-rw-r--r--detail.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/detail.php b/detail.php
index 777294b..270a935 100644
--- a/detail.php
+++ b/detail.php
@@ -55,7 +55,9 @@ print "</ul>\n";
55 55
56if ($CONFIG['graph_type'] == 'canvas') { 56if ($CONFIG['graph_type'] == 'canvas') {
57 chdir($CONFIG['webdir']); 57 chdir($CONFIG['webdir']);
58 printf('<canvas id="%s" class="rrd">', generate_uuid());
58 include $CONFIG['webdir'].'/graph.php'; 59 include $CONFIG['webdir'].'/graph.php';
60 print '</canvas>';
59} else { 61} else {
60 printf("<img src=\"%s%s\">\n", 62 printf("<img src=\"%s%s\">\n",
61 htmlentities($CONFIG['weburl']), 63 htmlentities($CONFIG['weburl']),