aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/detail.php
diff options
context:
space:
mode:
Diffstat (limited to 'detail.php')
-rw-r--r--detail.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/detail.php b/detail.php
index 5aa38de..c7df632 100644
--- a/detail.php
+++ b/detail.php
@@ -47,7 +47,12 @@ foreach($CONFIG['term'] as $key => $s) {
47} 47}
48print "</ul>\n"; 48print "</ul>\n";
49 49
50printf('<img src="%s%s">'."\n", $CONFIG['weburl'], build_url('graph.php', $_GET)); 50if ($CONFIG['graph_type'] == 'canvas') {
51 chdir($CONFIG['webdir']);
52 include $CONFIG['webdir'].'/plugin/'.$plugin.'.php';
53} else {
54 printf('<img src="%s%s">'."\n", $CONFIG['weburl'], build_url('graph.php', $_GET));
55}
51echo '</div>'; 56echo '</div>';
52 57
53html_end(); 58html_end();