diff options
author | Pim van den Berg | 2014-05-19 22:48:59 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-05-19 22:48:59 +0200 |
commit | d9e375bd190570837a890f949a47792deeb6b765 (patch) | |
tree | fd62efac7f01d3c9efa8c069e3a7ddd3f5a13be7 /detail.php | |
parent | Add base on all df plugins (diff) | |
download | apt-panopticon_cgp-d9e375bd190570837a890f949a47792deeb6b765.zip apt-panopticon_cgp-d9e375bd190570837a890f949a47792deeb6b765.tar.gz apt-panopticon_cgp-d9e375bd190570837a890f949a47792deeb6b765.tar.bz2 apt-panopticon_cgp-d9e375bd190570837a890f949a47792deeb6b765.tar.xz |
detail.php: fix canvas graphs
Include graph.php instead of non-existing plugin/$plugin.php.
Closes #75
Diffstat (limited to 'detail.php')
-rw-r--r-- | detail.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ print "</ul>\n"; | |||
52 | 52 | ||
53 | if ($CONFIG['graph_type'] == 'canvas') { | 53 | if ($CONFIG['graph_type'] == 'canvas') { |
54 | chdir($CONFIG['webdir']); | 54 | chdir($CONFIG['webdir']); |
55 | include $CONFIG['webdir'].'/plugin/'.$plugin.'.php'; | 55 | include $CONFIG['webdir'].'/graph.php'; |
56 | } else { | 56 | } else { |
57 | printf('<img src="%s%s">'."\n", $CONFIG['weburl'], build_url('graph.php', $_GET)); | 57 | printf('<img src="%s%s">'."\n", $CONFIG['weburl'], build_url('graph.php', $_GET)); |
58 | } | 58 | } |