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)
66
66
$ file ->getClientOriginalName ()
67
67
);
68
68
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 ();
70
70
$ file_name = pathinfo ($ filePath , PATHINFO_FILENAME );
71
71
$ extension = pathinfo ($ filePath , PATHINFO_EXTENSION );
72
72
@@ -81,7 +81,7 @@ public function handle(Repository $config,Image $image)
81
81
$ filePath ,
82
82
$ dimension [0 ],
83
83
$ 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 )
85
85
);
86
86
}
87
87
}
You can’t perform that action at this time.
0 commit comments