mirror of
https://github.com/friendica/friendica
synced 2025-04-25 03:10:11 +00:00
Merge https://github.com/friendica/friendica into pull
This commit is contained in:
commit
8b51ffefc0
20 changed files with 18099 additions and 24066 deletions
9
boot.php
9
boot.php
|
@ -401,6 +401,7 @@ if(! class_exists('App')) {
|
|||
private $db;
|
||||
|
||||
private $curl_code;
|
||||
private $curl_content_type;
|
||||
private $curl_headers;
|
||||
|
||||
private $cached_profile_image;
|
||||
|
@ -673,6 +674,14 @@ if(! class_exists('App')) {
|
|||
return $this->curl_code;
|
||||
}
|
||||
|
||||
function set_curl_content_type($content_type) {
|
||||
$this->curl_content_type = $content_type;
|
||||
}
|
||||
|
||||
function get_curl_content_type() {
|
||||
return $this->curl_content_type;
|
||||
}
|
||||
|
||||
function set_curl_headers($headers) {
|
||||
$this->curl_headers = $headers;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue