aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/detail.php
diff options
context:
space:
mode:
authorPim van den Berg2014-05-19 22:48:59 +0200
committerPim van den Berg2014-05-19 22:48:59 +0200
commitd9e375bd190570837a890f949a47792deeb6b765 (patch)
treefd62efac7f01d3c9efa8c069e3a7ddd3f5a13be7 /detail.php
parentAdd base on all df plugins (diff)
downloadapt-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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/detail.php b/detail.php
index 33db2b9..0fedb69 100644
--- a/detail.php
+++ b/detail.php
@@ -52,7 +52,7 @@ print "</ul>\n";
52 52
53if ($CONFIG['graph_type'] == 'canvas') { 53if ($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}