From 34bdd032c191b503520f9cce8e4d64803031c3fe Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Mon, 20 May 2013 21:37:46 +0200 Subject: remove dependency on mod_rewrite for rrd.php Use $_SERVER['PATH_INFO'] instead. --- type/Default.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'type') 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 { function parse_filename($file) { if ($this->graph_type == 'canvas') { - $file = 'rrd' . str_replace($this->datadir, '', $file); + $file = 'rrd.php/' . str_replace($this->datadir . '/', '', $file); } return $this->rrd_escape($file); } -- cgit v1.1