Created development branch for release 1.5.0

This commit is contained in:
2026-02-24 21:18:25 -05:00
parent 7b134c1010
commit 0f84d3bcbc
24 changed files with 1152 additions and 595 deletions

View File

@@ -2,7 +2,7 @@
/*
search.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2026 Rod Wright
Copyright (C) 2025 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/
@@ -38,10 +38,10 @@ if (array_key_exists('exportcsv',$_REQUEST)) {
$exportcsv=true;
$csv_filename="{$appname}_Search_Results_" . date("Y-m-d_His") . ".csv";
// disable caching
$lastmodified = gmdate("D, d M Y H:i:s");
$now = gmdate("D, d M Y H:i:s");
header("Expires: Tue, 03 Jul 2001 06:00:00 GMT");
header("Cache-Control: max-age=0, no-cache, must-revalidate, proxy-revalidate");
header("Last-Modified: {$lastmodified} GMT");
header("Last-Modified: {$now} GMT");
// force download
header("Content-Type: application/force-download");