applied patch to allow a tmpdir setting.
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Request / Upload.pm
index 9a5f1c4..a3e6f55 100644 (file)
@@ -27,6 +27,11 @@ Catalyst::Request::Upload - handles file upload requests
     $upload->tempname;
     $upload->type;
 
+To specify where Catalyst should put the temporary files, set the 'uploadtmp'
+option in the Catalyst config. If unset, Catalyst will use the system temp dir.
+
+    __PACKAGE__->config( uploadtmp => '/path/to/tmpdir' );
+
 See also L<Catalyst>.
 
 =head1 DESCRIPTION