We make sure that the destination folder has a trailing slash
This commit is contained in:
parent
3aa13c09d3
commit
6aeec7d337
1 changed files with 6 additions and 0 deletions
|
|
@ -37,6 +37,12 @@ class ExtractMultipleFramesFilter implements VideoFilterInterface
|
|||
{
|
||||
$this->priority = $priority;
|
||||
$this->frameRate = $frameRate;
|
||||
|
||||
// Make sure that the destination folder has a trailing slash
|
||||
if(strcmp( substr($destinationFolder, -1), "/") != 0)
|
||||
$destinationFolder .= "/";
|
||||
|
||||
// Set the destination folder
|
||||
$this->destinationFolder = $destinationFolder;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue