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 9ef5e2c commit 1a940b4Copy full SHA for 1a940b4
controller/upload_file.rst
@@ -236,7 +236,7 @@ logic to a separate service::
236
$fileName = md5(uniqid()).'.'.$file->guessExtension();
237
238
try {
239
- $file->move($this->getTargetDir(), $fileName);
+ $file->move($this->getTargetDirectory(), $fileName);
240
} catch (FileException $e) {
241
// ... handle exception if something happens during file upload
242
}
0 commit comments