From e99098934003dee23f23441b820c1d6fb8f8eebe Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Mon, 13 May 2013 14:57:23 +0200 Subject: [PATCH] adding active worker cound to smarty global --- public/include/smarty_globals.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/include/smarty_globals.inc.php b/public/include/smarty_globals.inc.php index 1da5686a..5a374ca9 100644 --- a/public/include/smarty_globals.inc.php +++ b/public/include/smarty_globals.inc.php @@ -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'),