summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/vdr.php6
1 files 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;
}