aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rrd.php
diff options
context:
space:
mode:
authorsepich2014-03-10 11:06:47 -0700
committerPim van den Berg2014-03-21 23:07:03 +0100
commit82623b7658882006c7a08c4a8330d7ddab054a37 (patch)
tree5020c19f0d360fd3e4d4adb64f4e666feb891cab /rrd.php
parenthost.php: remove immediate end tag in fieldset (diff)
downloadapt-panopticon_cgp-82623b7658882006c7a08c4a8330d7ddab054a37.zip
apt-panopticon_cgp-82623b7658882006c7a08c4a8330d7ddab054a37.tar.gz
apt-panopticon_cgp-82623b7658882006c7a08c4a8330d7ddab054a37.tar.bz2
apt-panopticon_cgp-82623b7658882006c7a08c4a8330d7ddab054a37.tar.xz
mod_rewrite final cleanup
Diffstat (limited to '')
-rw-r--r--rrd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/rrd.php b/rrd.php
index 1b5997b..b4c7f68 100644
--- a/rrd.php
+++ b/rrd.php
@@ -4,7 +4,7 @@ require_once 'conf/common.inc.php';
4require_once 'inc/functions.inc.php'; 4require_once 'inc/functions.inc.php';
5require_once 'inc/html.inc.php'; 5require_once 'inc/html.inc.php';
6 6
7if ($file = validateRRDPath($CONFIG['datadir'], $_SERVER['PATH_INFO'])) { 7if ( $file = validateRRDPath($CONFIG['datadir'], urldecode($_SERVER["QUERY_STRING"])) ) {
8 header('Content-Type: application/octet-stream'); 8 header('Content-Type: application/octet-stream');
9 header('Content-Disposition: attachment; filename='.basename($file)); 9 header('Content-Disposition: attachment; filename='.basename($file));
10 header("Expires: " .date(DATE_RFC822,strtotime($CONFIG['cache']." seconds"))); 10 header("Expires: " .date(DATE_RFC822,strtotime($CONFIG['cache']." seconds")));