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