diff options
Diffstat (limited to 'bin/vdr.php')
-rwxr-xr-x | bin/vdr.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/vdr.php b/bin/vdr.php index 0b31fb3..215dc1a 100755 --- a/bin/vdr.php +++ b/bin/vdr.php @@ -1,14 +1,14 @@ <?php -include ('./svdrp_old.php'); +include ('./svdrp.php'); function vdrsendcommand($cmd) { global $svdrpip, $svdrpport; $svdrp = new SVDRP($svdrpip, $svdrpport); - $svdrp->Connect(); - $ret = $svdrp->Command($cmd); - $svdrp->Disconnect(); + $svdrp->connect(); + $ret = $svdrp->sendCommand($cmd); + $svdrp->disconnect(); return $ret; } |