Skip to content

Commit

Permalink
Remove trailing slashes (#44340)
Browse files Browse the repository at this point in the history
  • Loading branch information
bembelimen authored Oct 29, 2024
1 parent 2d4547e commit 66344af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Helper/PublicFolderGeneratorHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function createPublicFolder(string $destinationPath): void
{
$destinationPath = rtrim($destinationPath, '/\\') . '/';
$fullDestinationPath = $destinationPath;
$definePublic = '\'' . $destinationPath . '\'';
$definePublic = '\'' . rtrim($destinationPath, '/') . '\'';
$root = JPATH_ROOT . '/';
$defineRoot = '\'' . JPATH_ROOT . '\'';

Expand Down

0 comments on commit 66344af

Please sign in to comment.