Skip to content

Commit

Permalink
TTK-27403: Update dirname variable (#685)
Browse files Browse the repository at this point in the history
* TTK-27403: Update dirname variable

* fix: phpcsfixer

---------

Co-authored-by: pablo.garcia <[email protected]>
Co-authored-by: Pablo Ogando Ferreira <[email protected]>
  • Loading branch information
3 people authored Dec 5, 2024
1 parent 4183d14 commit e9a3c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pumukit/EncoderBundle/Services/JobRender.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function renderBat(Job $job): string

$vars['input'] = $job->getPathIni();
$vars['output'] = $job->getPathEnd();
$vars['output_dirname'] = dirname($vars['output']);
$vars['output_dirname'] = dirname($vars['output']).'/'.pathinfo($vars['output'], PATHINFO_FILENAME);
$vars['output_basename'] = basename($vars['output']);

foreach (range(1, 9) as $identifier) {
Expand Down

0 comments on commit e9a3c30

Please sign in to comment.