mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 18:04:26 +02: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;
|
||||
|
||||
/**
|
||||
* Ein fies zusammengehackter PHP-Diaspory-Client, der direkt von diesem abgeschaut ist:
|
||||
* https://github.com/Javafant/diaspy/blob/master/client.py
|
||||
|
@ -11,7 +14,7 @@ class Diasphp {
|
|||
$this->token_regex = '/content="(.*?)" name="csrf-token/';
|
||||
|
||||
$this->pod = $pod;
|
||||
$this->cookiejar = tempnam(get_temppath(), 'cookies');
|
||||
$this->cookiejar = tempnam(System::getTempPath(), 'cookies');
|
||||
}
|
||||
|
||||
function __destruct() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue