summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/files.php8
-rwxr-xr-xbin/session.php4
2 files changed, 6 insertions, 6 deletions
diff --git a/bin/files.php b/bin/files.php
index 7dc5baf..ae2507d 100755
--- a/bin/files.php
+++ b/bin/files.php
@@ -150,16 +150,16 @@ function generatelogo($type, $name, $dest)
{
case 'tv':
$channoslash = preg_replace("$/$", " ", $name);
- $logopath = "logos/" .$channoslash .".png";
+ $logopath = "../logos/" .$channoslash .".png";
if (!file_exists($logopath))
- $logopath = "logos/nologoTV.png";
+ $logopath = "../logos/nologoTV.png";
exec("cp \"" .$logopath ."\" " .$dest);
break;
case 'rec':
$channoslash = preg_replace("$/$", " ", $name);
- $logopath = "logos/" .$channoslash .".png";
+ $logopath = "../logos/" .$channoslash .".png";
if (!file_exists($logopath))
- $logopath = "logos/nologoREC.png";
+ $logopath = "../logos/nologoREC.png";
exec("cp \"" .$logopath ."\" " .$dest);
break;
case 'vid':
diff --git a/bin/session.php b/bin/session.php
index bbc175a..3409688 100755
--- a/bin/session.php
+++ b/bin/session.php
@@ -69,9 +69,9 @@ function sessioncreate($type, $url, $mode)
// Create logo
if ($type == 'vid')
- generatelogo($type, $url, '../ram/' .$session .'/logo.png');
+ generatelogo($type, $url, '../ram/' .$session .'/thumb.png');
else
- generatelogo($type, $channame, '../ram/' .$session .'/logo.png');
+ generatelogo($type, $channame, '../ram/' .$session .'/thumb.png');
return $session;
}