From 81dcc9457982a7dceff4a1beaf44951d1a3941b6 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 Sep 2024 14:20:55 +0200 Subject: [PATCH] services status --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 83e4374..cbd8b80 100644 --- a/functions.php +++ b/functions.php @@ -149,7 +149,7 @@ function show_service($name, $containers) { $str = ''; $str .= ""; $containers = trim($containers); - $arr = explode(" ",$containers); + $arr = explode("|",$containers); foreach ($arr as $container) { $c_arr = explode(":",$container); $str .= "";
{$name}Container nameStatusAction
 ".$c_arr[0]."".$c_arr[1]."RESTART