little changes
This commit is contained in:
@ -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";
|
||||
|
Reference in New Issue
Block a user