Skip to content

Commit

Permalink
Use move_uploaded_file instead of rename in PhpContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
j-jzk committed Sep 3, 2024
1 parent e56ea8c commit 218ed93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tink/http/containers/PhpContainer.hx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class PhpContainer implements Container {
),
saveTo: function (path:String) return Future.sync(

if ( #if haxe4 untyped Global.rename(tmpName, path) #else untyped __call__('rename', tmpName, path) #end)
if ( #if haxe4 untyped Global.move_uploaded_file(tmpName, path) #else untyped __call__('move_uploaded_file', tmpName, path) #end)

Success(Noise)
else
Expand Down

0 comments on commit 218ed93

Please sign in to comment.