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 8ae2156 commit 6a06a48Copy full SHA for 6a06a48
packages/framework/src/Foundation/Kernel/Hyperlinks.php
@@ -97,10 +97,6 @@ public function relativeLink(string $destination): string
97
*/
98
public function mediaLink(string $destination): string
99
{
100
- if (false && ! file_exists($sourcePath = "{$this->kernel->getMediaDirectory()}/$destination")) {
101
- throw new FileNotFoundException($sourcePath);
102
- }
103
-
104
return $this->relativeLink("{$this->kernel->getMediaOutputDirectory()}/$destination");
105
}
106
0 commit comments