aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type
diff options
context:
space:
mode:
authorPim van den Berg2013-05-20 21:37:46 +0200
committerPim van den Berg2013-05-20 21:37:46 +0200
commit34bdd032c191b503520f9cce8e4d64803031c3fe (patch)
treef3a75a02e9515e16c84c1da519e693e082d134d5 /type
parentupdate changelog to v0.4 (diff)
downloadapt-panopticon_cgp-34bdd032c191b503520f9cce8e4d64803031c3fe.zip
apt-panopticon_cgp-34bdd032c191b503520f9cce8e4d64803031c3fe.tar.gz
apt-panopticon_cgp-34bdd032c191b503520f9cce8e4d64803031c3fe.tar.bz2
apt-panopticon_cgp-34bdd032c191b503520f9cce8e4d64803031c3fe.tar.xz
remove dependency on mod_rewrite for rrd.php
Use $_SERVER['PATH_INFO'] instead.
Diffstat (limited to 'type')
-rw-r--r--type/Default.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/type/Default.class.php b/type/Default.class.php
index 42d5090..8632328 100644
--- a/type/Default.class.php
+++ b/type/Default.class.php
@@ -116,7 +116,7 @@ class Type_Default {
116 116
117 function parse_filename($file) { 117 function parse_filename($file) {
118 if ($this->graph_type == 'canvas') { 118 if ($this->graph_type == 'canvas') {
119 $file = 'rrd' . str_replace($this->datadir, '', $file); 119 $file = 'rrd.php/' . str_replace($this->datadir . '/', '', $file);
120 } 120 }
121 return $this->rrd_escape($file); 121 return $this->rrd_escape($file);
122 } 122 }