Issue 4814: Unify the temp path location

This commit is contained in:
Michael 2018-08-10 19:52:09 +00:00
parent d9a740d485
commit db4608a9b5
3 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ class Diaspora_Connection {
$this->setPassword($password);
}
$this->cookiejar = tempnam(sys_get_temp_dir(), 'cookies');
$this->cookiejar = tempnam(get_temppath(), 'cookies');
return $this;
}