X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=diaspora%2Fdiasphp.php;h=1588b58233b05ddf0cc4989ade24e84d7e0211ca;hb=db4546c190db003f29bf8b74bf6b89f9a76635d0;hp=f48933a62115e32b85b636732bcdba06a2279c36;hpb=ffe5038102b53dc9e00ef0b52d33e27226d35f7f;p=friendica-addons.git diff --git a/diaspora/diasphp.php b/diaspora/diasphp.php index f48933a6..1588b582 100644 --- a/diaspora/diasphp.php +++ b/diaspora/diasphp.php @@ -1,4 +1,7 @@ token_regex = '/content="(.*?)" name="csrf-token/'; $this->pod = $pod; - $this->cookiejar = tempnam(get_temppath(), 'cookies'); + $this->cookiejar = tempnam(System::getTempPath(), 'cookies'); } function __destruct() { @@ -107,4 +110,3 @@ class Diasphp { return true; } } -?>