mirror of
https://github.com/unraid/webgui.git
synced 2026-01-01 23:20:35 -06:00
favorites: skip non-existing entries
This commit is contained in:
@@ -8,6 +8,7 @@ while (($page = fgets($file))!==false) {
|
||||
// update each favorite
|
||||
$page = rtrim($page);
|
||||
$line = fopen($page,'r');
|
||||
if ($line === false) continue;
|
||||
// get current Menu settings
|
||||
extract(parse_ini_string(fgets($line)));
|
||||
fclose($line);
|
||||
|
||||
Reference in New Issue
Block a user