use upload_tmp_dir as temp place for transloading, see #297
This commit is contained in:
parent
2859d58191
commit
e7ddd2960b
@ -332,7 +332,7 @@ class Upload extends Extension {
|
||||
|
||||
// PHP falls back to system default if /tmp fails, can't we just
|
||||
// use the system default to start with? :-/
|
||||
$tmp_filename = tempnam("/tmp", "shimmie_transload");
|
||||
$tmp_filename = tempnam(ini_get('upload_tmp_dir'), "shimmie_transload");
|
||||
$filename = basename($url);
|
||||
|
||||
if(!transload($url, $tmp_filename)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user