Commit 64261e7a91ee2121e30e65b5c722ad520fe4af8c

Kano 2012-08-06T00:30:50

miner.php ignore arg when readonly

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/miner.php b/miner.php
index 3ec9c87..f83a302 100644
--- a/miner.php
+++ b/miner.php
@@ -1891,7 +1891,8 @@ function display()
 			$miner = $parts[0];
 			$port = $parts[1];
 
-			$preprocess = $arg;
+			if ($readonly !== true)
+				$preprocess = $arg;
 		}
 	}
  }