Browse Source

Merge branch 'master' of bitbucket.org:ckolivas/ckpool

master
ckolivas 10 years ago
parent
commit
1ade97b566
  1. 6
      pool/prime.php

6
pool/prime.php

@ -22,6 +22,7 @@ function process($p, $user, $menu)
$menu['Admin']['PPLNS'] = 'pplns'; $menu['Admin']['PPLNS'] = 'pplns';
$menu['Admin']['AllWork'] = 'allwork'; $menu['Admin']['AllWork'] = 'allwork';
} }
bp:
$page = ''; $page = '';
$n = ''; $n = '';
foreach ($menu as $item => $options) foreach ($menu as $item => $options)
@ -33,6 +34,11 @@ function process($p, $user, $menu)
$n = " - $name"; $n = " - $name";
} }
if ($page === '' and $p == 'blocks')
{
$p = 'pblocks';
goto bp;
}
if ($page === '') if ($page === '')
showPage($info, 'index', $menu, '', $user); showPage($info, 'index', $menu, '', $user);
else else

Loading…
Cancel
Save