adding active worker cound to smarty global

This commit is contained in:
Sebastian Grewe 2013-05-13 14:57:23 +02:00
parent d352adf6f6
commit e990989340

View File

@ -13,7 +13,7 @@ $aGlobal = array(
'websitename' => $settings->getValue('websitename'),
'ltc_usd' => $settings->getValue('btcesell'),
'hashrate' => $settings->getValue('currenthashrate'),
'workers' => $settings->getValue('currentworkers'),
'workers' => $worker->getCountAllActiveWorkers(),
'currentroundshares' => $settings->getValue('currentroundshares'),
'statstime' => $settings->getValue('statstime'),
'motd' => $settings->getValue('motd'),