Commit f6bde14c3113ec85f4743584a9900b3c81b387f7

Kano 2013-01-04T17:45:54

miner.php user/pass fix 'usr' is readonly

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/miner.php b/miner.php
index b0e8003..9215a21 100644
--- a/miner.php
+++ b/miner.php
@@ -2476,7 +2476,7 @@ function onlylogin()
 function checklogin()
 {
  global $allowcustompages, $customsummarypages;
- global $userlist, $ses;
+ global $readonly, $userlist, $ses;
 
  $out = trim(getparam('logout', true));
  if ($out !== null && $out !== '' && isset($_SESSION[$ses]))