From 0146b15502696e29b5aca7650dc3ed3240637c40 Mon Sep 17 00:00:00 2001 From: pavlosb Date: Tue, 23 Apr 2024 12:03:49 +0300 Subject: [PATCH] Update Inspection.php --- application/controllers/Inspection.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/controllers/Inspection.php b/application/controllers/Inspection.php index ad145f1..aa177b6 100644 --- a/application/controllers/Inspection.php +++ b/application/controllers/Inspection.php @@ -964,7 +964,9 @@ public function imgupload(){ //$howmany = count($_FILES["fileInput"]['name']); $response['files'] = $files; - +$this->output->set_header("Cache-Control: no-cache, must-revalidate"); +$this->output->set_header("Expires: Mon, 4 Apr 1994 04:44:44 GMT"); +$this->output->set_header("Content-type: application/json"); echo json_encode($response); exit; // }