aboutsummaryrefslogtreecommitdiffstats
path: root/config/sarg
diff options
context:
space:
mode:
Diffstat (limited to 'config/sarg')
-rwxr-xr-xconfig/sarg/sarg_frame.php2
-rwxr-xr-xconfig/sarg/sarg_reports.php2
2 files changed, 3 insertions, 1 deletions
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]='/<head>/';
+ $replace[3]='<head><META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">';
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");
</table>
</div>
<br>
- <iframe src="/sarg_frame.php/" frameborder=0 width="100%" height="600"></iframe>
+ <iframe src="/sarg_frame.php" frameborder=0 width="100%" height="600"></iframe>
<div id="file_div"></div>
</td>