mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 08:58:49 +00:00
Support for cleared boot.php
This commit is contained in:
parent
95622a0f0d
commit
6a349e7fd9
15 changed files with 38 additions and 25 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue