mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-13 06:01:03 +00:00
miner.php allow 'coin' is custom pages
This commit is contained in:
parent
adcd7ed76a
commit
9cd7d6ba22
@ -762,6 +762,7 @@ function fmt($section, $name, $value, $when, $alldata)
|
||||
$class = $warnclass;
|
||||
break;
|
||||
case 'STATUS.When':
|
||||
case 'COIN.Current Block Time':
|
||||
$ret = date($dfmt, $value);
|
||||
break;
|
||||
case 'BUTTON.Rig':
|
||||
@ -1457,7 +1458,8 @@ $sectionmap = array(
|
||||
'NOTIFY' => 'notify',
|
||||
'DEVDETAILS' => 'devdetails',
|
||||
'STATS' => 'stats',
|
||||
'CONFIG' => 'config');
|
||||
'CONFIG' => 'config',
|
||||
'COIN' => 'coin');
|
||||
#
|
||||
function joinfields($section1, $section2, $join, $results)
|
||||
{
|
||||
@ -1592,6 +1594,7 @@ function joinsections($sections, $results, $errors)
|
||||
case 'POOL':
|
||||
case 'DEVS':
|
||||
case 'CONFIG':
|
||||
case 'COIN':
|
||||
$sectionmap[$section] = $section;
|
||||
$results[$section] = joinall($both[0], $both[1], $results);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user