diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-23 18:26:55 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-23 18:26:55 +0100 |
commit | 1d65873e24c1d2d572a68586902d101de60b6d65 (patch) | |
tree | e27ba234e724f853d8be695c45eb164cf712100b /bin | |
parent | 967faa4dd1c94769995aec1cde6878490d03756c (diff) | |
download | istreamdev-1d65873e24c1d2d572a68586902d101de60b6d65.tar.gz istreamdev-1d65873e24c1d2d572a68586902d101de60b6d65.tar.bz2 |
changes options name
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/jsonapi.php | 4 |
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; |