mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-16 20:35:15 +02:00
Issue 4814: Unify the temp path location
This commit is contained in:
parent
d9a740d485
commit
db4608a9b5
3 changed files with 4 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue