diff options
| author | TheTroll <trolldev@gmail.com> | 2010-04-01 16:25:08 +0200 |
|---|---|---|
| committer | TheTroll <trolldev@gmail.com> | 2010-04-01 16:25:08 +0200 |
| commit | 6b9d4216d16e186cc9543b2441586b55d4bce33c (patch) | |
| tree | 9fa69acd6113a28cb1c038016431512e10aef220 | |
| parent | ef25ebac4d542f5d1b54fc13b4f75ffe01cd3bbf (diff) | |
| download | istreamdev-6b9d4216d16e186cc9543b2441586b55d4bce33c.tar.gz istreamdev-6b9d4216d16e186cc9543b2441586b55d4bce33c.tar.bz2 | |
Fixed fp check
| -rw-r--r-- | bin/vdr.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/vdr.php b/bin/vdr.php index c27dc4a..12fc62f 100644 --- a/bin/vdr.php +++ b/bin/vdr.php @@ -33,7 +33,7 @@ function vdrgetcategories() } $fp = fopen ($vdrchannels,"r"); - if (!fp) + if (!$fp) { addlog("Error: can't open vdr channels file " .$vdrchannels); print "Unable to open channels file"; @@ -104,7 +104,7 @@ function vdrgetchannels($category, $now) } $fp = fopen ($vdrchannels,"r"); - if (!fp) + if (!$fp) { addlog("Error: can't open vdr channels file " .$vdrchannels); print "Unable to open channels file"; |
