diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-17 14:31:57 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-17 14:31:57 +0100 |
commit | 4fc4fe8dba013523e021674e4fa0cb4aa0e94163 (patch) | |
tree | ed8931aa89bc66d8d20a5c6e7a224bd7141ac53c | |
parent | b531002d2f3791e1499f4b4de030500932ce73da (diff) | |
download | istreamdev-4fc4fe8dba013523e021674e4fa0cb4aa0e94163.tar.gz istreamdev-4fc4fe8dba013523e021674e4fa0cb4aa0e94163.tar.bz2 |
Fixed path
-rwxr-xr-x | bin/files.php | 8 | ||||
-rwxr-xr-x | bin/session.php | 4 |
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; } |