https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20428
--- Comment #12 from M. Tompsett <[email protected]> --- Comment on attachment 73430 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73430 Bug 20428: Make Koha::UploadedFile use the new config entry for tmp files Review of attachment 73430: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=20428&attachment=73430) ----------------------------------------------------------------- ::: Koha/UploadedFile.pm @@ +169,5 @@ > sub temporary_directory { > my ( $class ) = @_; > + return (C4::Context->config('upload_tmp_path')) > + ? C4::Context->config('upload_tmp_path') > + : File::Spec->tmpdir; Why a trinary when a || File::Spec->tmpdir would work more nicely? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
