File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
packages/framework/src/Foundation/Kernel Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 88use BadMethodCallException ;
99use Hyde \Support \Models \Route ;
1010use Hyde \Foundation \HydeKernel ;
11- use Hyde \Framework \Exceptions \FileNotFoundException ;
1211use Illuminate \Support \Str ;
1312
1413use function str_ends_with ;
1514use function str_starts_with ;
1615use function substr_count ;
17- use function file_exists ;
1816use function str_replace ;
1917use function str_repeat ;
2018use function substr ;
@@ -97,10 +95,6 @@ public function relativeLink(string $destination): string
9795 */
9896 public function mediaLink (string $ destination ): string
9997 {
100- if (false && ! file_exists ($ sourcePath = "{$ this ->kernel ->getMediaDirectory ()}/ $ destination " )) {
101- throw new FileNotFoundException ($ sourcePath );
102- }
103-
10498 return $ this ->relativeLink ("{$ this ->kernel ->getMediaOutputDirectory ()}/ $ destination " );
10599 }
106100
You can’t perform that action at this time.
0 commit comments