Merge branch 'master' of https://git.cassandrecantet.fr/meoran/images
This commit is contained in:
@@ -75,6 +75,7 @@ class Image extends Model
|
||||
|
||||
$parts = array_slice(str_split(mb_strtolower(str_slug($filename, '')), 2), 0, 2);
|
||||
|
||||
|
||||
$path = $basePath . '/' . implode('/', $parts) . '/' . $filename;
|
||||
|
||||
return $path;
|
||||
|
Reference in New Issue
Block a user