We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d611ad3 commit f3093c2Copy full SHA for f3093c2
packages/framework/src/Support/Filesystem/MediaFile.php
@@ -60,9 +60,7 @@ public static function outputPath(string $path = ''): string
60
return Hyde::sitePath(Hyde::getMediaOutputDirectory());
61
}
62
63
- $path = unslash($path);
64
-
65
- return Hyde::sitePath(Hyde::getMediaOutputDirectory()."/$path");
+ return Hyde::sitePath(path_join(Hyde::getMediaOutputDirectory(), unslash($path)));
66
67
68
public function getIdentifier(): string
0 commit comments