summaryrefslogtreecommitdiff
path: root/bin/files.php
diff options
context:
space:
mode:
Diffstat (limited to 'bin/files.php')
-rwxr-xr-xbin/files.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/files.php b/bin/files.php
index 5224096..0674ff1 100755
--- a/bin/files.php
+++ b/bin/files.php
@@ -152,14 +152,18 @@ function generatelogo($type, $name, $dest)
$logopath = "../logos/" .$channoslash .".png";
if (!file_exists($logopath))
$logopath = "../logos/nologoTV.png";
- exec("cp \"" .$logopath ."\" " .$dest);
+ $cmd = "cp \"" .$logopath ."\" " .$dest;
+ addlog("Executing generation cmd: " .$cmd);
+ exec($cmd);
break;
case 'rec':
$channoslash = preg_replace("$/$", " ", $name);
$logopath = "../logos/" .$channoslash .".png";
if (!file_exists($logopath))
$logopath = "../logos/nologoREC.png";
- exec("cp \"" .$logopath ."\" " .$dest);
+ $cmd = "cp \"" .$logopath ."\" " .$dest;
+ addlog("Executing generation cmd: " .$cmd);
+ exec($cmd);
break;
case 'vid':
// Generate TB