Skip to content

Commit 66344af

Browse files
authored
Remove trailing slashes (joomla#44340)
1 parent 2d4547e commit 66344af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/src/Helper/PublicFolderGeneratorHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function createPublicFolder(string $destinationPath): void
9696
{
9797
$destinationPath = rtrim($destinationPath, '/\\') . '/';
9898
$fullDestinationPath = $destinationPath;
99-
$definePublic = '\'' . $destinationPath . '\'';
99+
$definePublic = '\'' . rtrim($destinationPath, '/') . '\'';
100100
$root = JPATH_ROOT . '/';
101101
$defineRoot = '\'' . JPATH_ROOT . '\'';
102102

0 commit comments

Comments
 (0)