Changeset 704


Ignore:
Timestamp:
Oct 13, 2014, 9:25:44 PM (10 years ago)
Author:
chronos
Message:
  • Opaveno: Robustnější zpracování chybových stavů připojení třídy RouterboardAPI.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Version.php

    r697 r704  
    11<?php
    22
    3 $Revision = 697; // Subversion revision
     3$Revision = 704; // Subversion revision
    44$DatabaseRevision = 697; // SQL structure revision
    5 $ReleaseTime = strtotime('2014-09-24');
     5$ReleaseTime = strtotime('2014-10-13');
  • trunk/Modules/NetworkConfigRouterOS/RouterboardAPI.php

    r693 r704  
    6363            $this->Write('=response=00'.md5(chr(0).$Password.pack('H*', $Matches[0][1])));
    6464            $Response = $this->Read(false);
    65             if ($Response[0] == '!done') $this->Connected = true;
     65            if((count($Response) > 0) and ($Response[0] == '!done')) $this->Connected = true;
    6666          }
    6767        }
Note: See TracChangeset for help on using the changeset viewer.