Fix directories with unicode characters not being supported
This commit is contained in:
bovenliggende
41866cfd35
commit
dbfb4cf70d
@ -75,7 +75,7 @@ class Builder
|
||||
}
|
||||
|
||||
if ($file->isDir()) {
|
||||
$title = static::removeSortingInformations($file->getFilename());
|
||||
$title = DauxHelper::slug(static::removeSortingInformations($file->getFilename()));
|
||||
$new = new Directory($node, $title, $file);
|
||||
$new->setName(static::getName($file->getPathName()));
|
||||
$new->setTitle(str_replace('_', ' ', static::removeSortingInformations($new->getName())));
|
||||
|
Laden…
Verwijs in nieuw issue
Block a user