les albums s'affichent à nouveau
This commit is contained in:
parent
5eed24e223
commit
abee696da8
@ -22,6 +22,10 @@ foreach (new DirectoryIterator($currentPath) as $item) {
|
|||||||
if ($item->isDot()) continue;
|
if ($item->isDot()) continue;
|
||||||
if ($item->isDir()) {
|
if ($item->isDir()) {
|
||||||
$albumPath = $item->getPathname();
|
$albumPath = $item->getPathname();
|
||||||
|
|
||||||
|
// Ajout de la vérification de sécurité
|
||||||
|
if (!isSecurePath($albumPath)) continue;
|
||||||
|
|
||||||
$info = getAlbumInfo($albumPath);
|
$info = getAlbumInfo($albumPath);
|
||||||
|
|
||||||
$images = hasSubfolders($albumPath) ?
|
$images = hasSubfolders($albumPath) ?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user