diff --git a/www-api/app/Controllers/WrenchMedia.php b/www-api/app/Controllers/WrenchMedia.php index b9a988d3..52b00fe6 100644 --- a/www-api/app/Controllers/WrenchMedia.php +++ b/www-api/app/Controllers/WrenchMedia.php @@ -69,9 +69,16 @@ class WrenchMedia extends BaseController } else{ - return 0; + // return 0; for now - no session } + $file = 'books.png'; + // header('Content-Type: image/jpeg'); + header('Content-Type: image/png'); + readfile($file); + + exit(); + //We can check cache for the file or // OR