Variable names correction
parent
b08937bdb1
commit
cc1213fa12
|
@ -40,7 +40,7 @@ final class Portfolio
|
|||
$galleries = [];
|
||||
foreach (array_diff(scandir("./galleries"), [".", ".."]) as $dir) {
|
||||
$path = "./galleries/$dir";
|
||||
$meta = "$gallery_path/metadata.txt";
|
||||
$meta = "$path/metadata.txt";
|
||||
if (!is_file($meta)) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue