From a4616f05fb891186e8fe820537f950009e9544a7 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Thu, 18 Mar 2010 11:19:53 +0100 Subject: Fix --- bin/vdr.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/vdr.php b/bin/vdr.php index 215dc1a..fa573da 100755 --- a/bin/vdr.php +++ b/bin/vdr.php @@ -6,9 +6,9 @@ function vdrsendcommand($cmd) global $svdrpip, $svdrpport; $svdrp = new SVDRP($svdrpip, $svdrpport); - $svdrp->connect(); - $ret = $svdrp->sendCommand($cmd); - $svdrp->disconnect(); + $svdrp->Connect(); + $ret = $svdrp->Command($cmd); + $svdrp->Disconnect(); return $ret; } -- cgit v1.2.3