Skip to content

Commit f3093c2

Browse files
committed
Normalize implementation syntax
1 parent d611ad3 commit f3093c2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/framework/src/Support/Filesystem/MediaFile.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ public static function outputPath(string $path = ''): string
6060
return Hyde::sitePath(Hyde::getMediaOutputDirectory());
6161
}
6262

63-
$path = unslash($path);
64-
65-
return Hyde::sitePath(Hyde::getMediaOutputDirectory()."/$path");
63+
return Hyde::sitePath(path_join(Hyde::getMediaOutputDirectory(), unslash($path)));
6664
}
6765

6866
public function getIdentifier(): string

0 commit comments

Comments
 (0)