Browse Source

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

Kano 13 years ago
parent
commit
63ca343e8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.php

+ 1 - 1
miner.php

@@ -2463,7 +2463,7 @@ function onlylogin()
 function checklogin()
 function checklogin()
 {
 {
  global $allowcustompages, $customsummarypages;
  global $allowcustompages, $customsummarypages;
- global $userlist, $ses;
+ global $readonly, $userlist, $ses;
 
 
  $out = trim(getparam('logout', true));
  $out = trim(getparam('logout', true));
  if ($out !== null && $out !== '' && isset($_SESSION[$ses]))
  if ($out !== null && $out !== '' && isset($_SESSION[$ses]))