mirror of
https://github.com/snipe/snipe-it.git
synced 2025-10-29 11:21:21 +00:00
Removed logging
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
618106c103
commit
da5b1afd19
@ -96,11 +96,9 @@ class StorageHelper
|
||||
'webp',
|
||||
];
|
||||
|
||||
\Log::error(pathinfo($file_with_path, PATHINFO_EXTENSION));
|
||||
|
||||
// The file exists and is allowed to be displayed inline
|
||||
if (Storage::exists($file_with_path) && (in_array(pathinfo($file_with_path, PATHINFO_EXTENSION), $allowed_inline))) {
|
||||
\Log::error('File is allowed inline: ' . $file_with_path);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user