@@ -137,7 +137,7 @@ classname: 'ddsmoothmenu', //class added to menu's outer DIV
Name: You can enter any name you like. IP/Hostname: Enter the IP or Hostname of your cgminer cgapi enabled host. I.E. 10.10.1.10 or 192.168.1.10. You can also use FQDN so miner1.mynet.com i.e. Port: The port CGMINER is listening on (default 4028)
- if($config->cointype=='scrypt'){echo "KH/s";}else{ echo "MH/s";}?> desired: If you already now how much if($config->cointype=='scrypt'){echo "KH/s";}else{ echo "MH/s";}?> your host will/should make, enter it here.
+cointype=='scrypt'){echo "KH/s";}else{ echo "MH/s";}?> desired: If you already now how much cointype=='scrypt'){echo "KH/s";}else{ echo "MH/s";}?> your host will/should make, enter it here.
You can change any value afterwards.
diff --git a/edithost.php b/edithost.php
index 4c87a8a..06340ec 100644
--- a/edithost.php
+++ b/edithost.php
@@ -64,6 +64,22 @@
$dev_response = send_request_to_host($arr, $host_data);
sleep(2);
}
+
+ if (isset($_POST['startasc']))
+ {
+ $asc_id = filter_input(INPUT_POST, 'startasc', FILTER_SANITIZE_NUMBER_INT);
+ $arr = array ('command'=>'ascenable','parameter'=>$asc_id);
+ $dev_response = send_request_to_host($arr, $host_data);
+ sleep(2);
+ }
+
+ if (isset($_POST['stopasc']))
+ {
+ $asc_id = filter_input(INPUT_POST, 'stopasc', FILTER_SANITIZE_NUMBER_INT);
+ $arr = array ('command'=>'ascdisable','parameter'=>$asc_id);
+ $dev_response = send_request_to_host($arr, $host_data);
+ sleep(2);
+ }
if (isset($_POST['flashpga']))
{
@@ -322,7 +338,7 @@ classname: 'ddsmoothmenu', //class added to menu's outer DIV