image view
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user