mirror of
https://github.com/snipe/snipe-it.git
synced 2026-05-05 06:05:20 +00:00
Fixes for #8732 - Flysystem paths, migrator script
This commit is contained in:
@ -49,7 +49,8 @@ class ImageUploadRequest extends Request
|
||||
$type = strtolower(class_basename(get_class($item)));
|
||||
|
||||
if (is_null($path)) {
|
||||
$path = str_plural($type);
|
||||
$path = 'uploads/';
|
||||
$path .= str_plural($type);
|
||||
|
||||
if ($type == 'assetmodel') {
|
||||
$path = 'models';
|
||||
|
||||
Reference in New Issue
Block a user