Support for cleared boot.php

This commit is contained in:
Michael 2021-11-04 20:32:16 +00:00
parent 95622a0f0d
commit 6a349e7fd9
15 changed files with 38 additions and 25 deletions

View file

@ -1,4 +1,7 @@
<?php
use Friendica\Core\System;
/**
* Super-skeletal class to interact with Diaspora.
*
@ -29,7 +32,7 @@ class Diaspora_Connection {
$this->setPassword($password);
}
$this->cookiejar = tempnam(get_temppath(), 'cookies');
$this->cookiejar = tempnam(System::getTempPath(), 'cookies');
return $this;
}