Improved core separation on Dashboard page

This commit is contained in:
bergware
2016-03-27 17:15:40 +02:00
parent f8088c93fc
commit 43dba132a4
+1 -1
View File
@@ -157,7 +157,7 @@ echo "<td>Array Status</td>".implode('',$row0);
<?
$tr = false;
foreach ($cores as $pair):
list($core1, $core2) = explode(',',$pair);
list($core1, $core2) = preg_split('/[,-]/',$pair);
if ($tr) echo "<tr>";
if (isset($core2))
echo "<td>core $core1 / $core2</td><td class='blue' id='cpu{$core1}'>"."</td><td class='blue' id='cpu{$core2}'></td>";