Changeset 685
- Timestamp:
- Aug 24, 2014, 12:55:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/RouterboardAPI.php
r682 r685 56 56 $this->Write('/login'); 57 57 $Response = $this->Read(false); 58 if ( $Response[0] == '!done') {58 if ((count($Response) > 0) and ($Response[0] == '!done')) { 59 59 if (preg_match_all('/[^=]+/i', $Response[1], $Matches)) { 60 60 if ($Matches[0][0] == 'ret' && strlen($Matches[0][1]) == 32) {
Note:
See TracChangeset
for help on using the changeset viewer.