summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/jsonapi.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/jsonapi.php b/bin/jsonapi.php
index fc39434..bdbe430 100755
--- a/bin/jsonapi.php
+++ b/bin/jsonapi.php
@@ -5,12 +5,12 @@ function getGlobals()
global $vdrstreamdev, $vdrrecpath, $mediasource, $videosource, $audiosource, $vdrenable, $mediaenable;
$ret = array();
- if ($vdrenable)
+ if ($vdrenabled)
$ret['streamdev_server'] = $vdrstreamdev;
else
$ret['streamdev_server'] = "";
$ret['rec_path'] = $vdrrecpath;
- if ($mediaenable)
+ if ($mediaenabled)
{
$ret['video_path'] = $videosource;
$ret['audio_path'] = $audiosource;