File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Darryldecode/Backend/Components/MediaManager/Commands Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public function handle(Repository $config,Image $image)
6666 $ file ->getClientOriginalName ()
6767 );
6868
69- $ filePath = $ config ->get ('filesystems.disks.local.root ' ).'/ ' .$ this ->normalizePath ($ path ).$ file ->getClientOriginalName ();
69+ $ filePath = $ config ->get ('filesystems.disks.local.root ' ).'/ ' .$ this ->normalizePath ($ path ).' / ' . $ file ->getClientOriginalName ();
7070 $ file_name = pathinfo ($ filePath , PATHINFO_FILENAME );
7171 $ extension = pathinfo ($ filePath , PATHINFO_EXTENSION );
7272
@@ -81,7 +81,7 @@ public function handle(Repository $config,Image $image)
8181 $ filePath ,
8282 $ dimension [0 ],
8383 $ dimension [1 ],
84- $ config ->get ('filesystems.disks.local.root ' ).'/ ' .$ this ->normalizePath ($ path ).$ this ->produceThumbFileName ($ file_name ,$ key ,$ extension )
84+ $ config ->get ('filesystems.disks.local.root ' ).'/ ' .$ this ->normalizePath ($ path ).' / ' . $ this ->produceThumbFileName ($ file_name ,$ key ,$ extension )
8585 );
8686 }
8787 }
You can’t perform that action at this time.
0 commit comments