]> git.mxchange.org Git - friendica-addons.git/blobdiff - statusnet/codebird.php
Merge pull request #407 from annando/removed_lockpath
[friendica-addons.git] / statusnet / codebird.php
index 14d231d7f5790da37e8714af72fd1a0a410b85b2..cba5f9360f2cf794f53dc539ba5de2f83aa29d85 100644 (file)
@@ -820,7 +820,7 @@ class CodebirdSN
                 }
 
                // To-Do
-               $tempfile = tempnam(get_config("system","temppath"), "mimecheck");
+               $tempfile = tempnam(get_temppath(), "mimecheck");
                file_put_contents($tempfile, $data);
                $mime = image_type_to_mime_type(exif_imagetype($tempfile));
                unlink($tempfile);