This commit is contained in:
Cassandre Cantet 2017-10-04 00:14:23 +02:00
commit 9304ac24c5
1 changed files with 1 additions and 0 deletions

View File

@ -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;