X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=diaspora%2Fdiasphp.php;h=f48933a62115e32b85b636732bcdba06a2279c36;hb=7c8c09836eac3ade1e886ceb402dc73849ddd753;hp=6ed0c8ce5319f87af36427ecff953f3cd64011b0;hpb=8bd0cf1d56cd93d43a1f00d5579be1d8ee152515;p=friendica-addons.git diff --git a/diaspora/diasphp.php b/diaspora/diasphp.php index 6ed0c8ce..f48933a6 100644 --- a/diaspora/diasphp.php +++ b/diaspora/diasphp.php @@ -11,7 +11,7 @@ class Diasphp { $this->token_regex = '/content="(.*?)" name="csrf-token/'; $this->pod = $pod; - $this->cookiejar = tempnam(sys_get_temp_dir(), 'cookies'); + $this->cookiejar = tempnam(get_temppath(), 'cookies'); } function __destruct() {