summaryrefslogtreecommitdiff
path: root/includes/inc_stream.php
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-26 17:52:47 +0100
committerAlib <aliboba@free.fr>2010-02-26 17:52:47 +0100
commit307dc9c35c0e2eb9481bb9fa9213773ab01f633b (patch)
tree32fdc0a788e8173dd066e98601fbeac574edbbba /includes/inc_stream.php
parentc717ff82b3d58a1dc43323b53f3e4a4c9bf8b4ec (diff)
parentc098143b66784a518de81bc3f639993ac1d6f3ec (diff)
downloadistreamdev-307dc9c35c0e2eb9481bb9fa9213773ab01f633b.tar.gz
istreamdev-307dc9c35c0e2eb9481bb9fa9213773ab01f633b.tar.bz2
Merge branch 'master' of projects.vdr-developer.org:istreamdev
Diffstat (limited to 'includes/inc_stream.php')
-rwxr-xr-xincludes/inc_stream.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/includes/inc_stream.php b/includes/inc_stream.php
index b98b132..d6297e0 100755
--- a/includes/inc_stream.php
+++ b/includes/inc_stream.php
@@ -25,12 +25,14 @@ if (infostreamexist())
switch ($type)
{
case 1:
- $logopath = "logos/" .$realname .".png";
+ $channoslash = preg_replace("$/$", " ", $realname);
+ $logopath = "logos/" .$channoslash .".png";
if (!file_exists($logopath))
$logopath = "logos/nologoTV.png";
break;
case 2:
- $logopath = "logos/" .$realname .".png";
+ $channoslash = preg_replace("$/$", " ", $realname);
+ $logopath = "logos/" .$channslash .".png";
if (!file_exists($logopath))
$logopath = "logos/nologoREC.png";
break;
@@ -129,12 +131,14 @@ else
switch ($type)
{
case 1:
- $logopath = "logos/" .$realname .".png";
+ $channoslash = preg_replace("$/$", " ", $realname);
+ $logopath = "logos/" .$channoslash .".png";
if (!file_exists($logopath))
$logopath = "logos/nologoTV.png";
break;
case 2:
- $logopath = "logos/" .$realname .".png";
+ $channoslash = preg_replace("$/$", " ", $realname);
+ $logopath = "logos/" .$channoslash .".png";
if (!file_exists($logopath))
$logopath = "logos/nologoREC.png";
break;