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