little changes

This commit is contained in:
2023-05-26 10:20:57 +02:00
parent a889a55738
commit ed3de852ce
3 changed files with 7 additions and 12 deletions

View File

@ -27,7 +27,7 @@
$cfgPaths = glob($fullpath . '/*.cfg');
if (count($cfgPaths)) {
$str .= "<ul>\n";
foreach ( as $conf) {
foreach ($cfgPaths as $conf) {
$str .= "<li><a href='vlans.php?switch=" . str_replace($basedir.'/', "", $conf) . "'>" . basename($conf) . "</a></li>\n";
}
$str .= "</ul>\n";