Variable names correction

main
Nicolas Ong 2023-09-09 22:13:35 +02:00
parent b08937bdb1
commit cc1213fa12
1 changed files with 1 additions and 1 deletions

View File

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