Changeset 674 for trunk/Modules/NetworkConfigRouterOS/RouterboardAPI.php
- Timestamp:
- Jul 21, 2014, 11:09:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/RouterboardAPI.php
r671 r674 11 11 var $Timeout; // Connection attempt timeout and data read timeout 12 12 var $Socket; // Variable for storing socket resource 13 var $Debug; 13 14 14 15 function __construct() … … 19 20 $this->Port = 8728; 20 21 $this->Timeout = 3; 22 $this->Debug = false; 21 23 } 22 24 … … 182 184 $Response[] = $Line; 183 185 } 184 echo($Line."\n");186 if($this->Debug) echo($Line); 185 187 // If we get a !done, make a note of it. 186 188 if ($Line == "!done") $ReceivedDone = true;
Note:
See TracChangeset
for help on using the changeset viewer.