From 12d41a2bb0219463ead733614a0ca41b0e7b305f Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Tue, 10 Apr 2012 16:06:03 -0300 Subject: sarg - include some no-cache header info to reports --- config/sarg/sarg_frame.php | 2 ++ config/sarg/sarg_reports.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/sarg/sarg_frame.php b/config/sarg/sarg_frame.php index 5838e36b..c73b720a 100755 --- a/config/sarg/sarg_frame.php +++ b/config/sarg/sarg_frame.php @@ -47,6 +47,8 @@ if (file_exists("/usr/local/www/sarg-reports/".$url)) $replace[1]='img src="/sarg-reports'.$prefix.'/$1'; $pattern[2]='@img src="([.a-z/]+)/(\w+\.\w+)@'; $replace[2]='img src="/sarg-reports'.$prefix.'/$1/$2'; + $pattern[3]='//'; + $replace[3]=''; print preg_replace($pattern,$replace,$report); } else{ diff --git a/config/sarg/sarg_reports.php b/config/sarg/sarg_reports.php index 7348ebcf..170ce478 100755 --- a/config/sarg/sarg_reports.php +++ b/config/sarg/sarg_reports.php @@ -73,7 +73,7 @@ require("guiconfig.inc");
- +
-- cgit v1.2.3