Skip to content

Commit

Permalink
Update Inspection.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Apr 23, 2024
1 parent ac602f1 commit 0146b15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application/controllers/Inspection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
// }
Expand Down

0 comments on commit 0146b15

Please sign in to comment.