mirror of
https://github.com/unraid/webgui.git
synced 2026-03-14 06:51:27 -05:00
Minor code optimization
This commit is contained in:
@@ -63,7 +63,6 @@ foreach ($containers as $ct) {
|
||||
}
|
||||
$paths = [];
|
||||
foreach ($ct['Volumes'] as $mount) {
|
||||
if (!$mount) continue;
|
||||
list($host_path,$container_path,$access_mode) = explode(':',$mount);
|
||||
$paths[] = sprintf('%s<i class="fa fa-%s" style="margin:0 6px"></i>%s', htmlspecialchars($container_path), $access_mode=='ro'?'long-arrow-left':'arrows-h', htmlspecialchars($host_path));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user