]> git.koha-community.org Git - koha.git/commit
Bug 20428: Make Koha::UploadedFile use the new config entry for tmp files
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 29 Mar 2018 13:44:59 +0000 (10:44 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 14 May 2018 13:36:38 +0000 (10:36 -0300)
commit2b0c27beafae072087d1e63bb00cc5b193ed9917
tree550ef260ccbf0565c38b4c3f49bc7301672280f3
parentd90d8c9b272061986c101763d7c8f73ed7a9b0a2
Bug 20428: Make Koha::UploadedFile use the new config entry for tmp files

This patch makes Koha::UploadedFile->temporary_directory try to use the
new configuration entry. It will fallback to File::Spec->tmpdir
otherwise.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/UploadedFile.pm