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