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 3fd4cce commit bed00eeCopy full SHA for bed00ee
Service/LocalImageUploader.php
@@ -42,6 +42,7 @@ public function uploadImage(string $url): string
42
// Check if file already exists
43
if (!\file_exists($path)) {
44
// Save the file
45
+ \mkdir(dirname($path));
46
\file_put_contents($path, $file);
47
}
48
0 commit comments