define ( 'FRIENDICA_CODENAME', 'Asparagus');
define ( 'FRIENDICA_VERSION', '3.5-dev' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
-define ( 'DB_UPDATE_VERSION', 1193 );
+define ( 'DB_UPDATE_VERSION', 1194 );
/**
* @brief Constant with a HTML line break.
private $curl_code;
private $curl_content_type;
private $curl_headers;
- private $curl_redirect_url;
private $cached_profile_image;
private $cached_profile_picdate;
+ private static $a;
+
/**
* @brief App constructor.
*/
}
}
+ self::$a = $this;
+
}
function get_basepath() {
function get_baseurl($ssl = false) {
+ // Is the function called statically?
+ if (!is_object($this))
+ return(self::$a->get_baseurl($ssl));
+
$scheme = $this->scheme;
if((x($this->config,'system')) && (x($this->config['system'],'ssl_policy'))) {
return $this->curl_headers;
}
- function set_curl_redirect_url($url) {
- $this->curl_redirect_url = $url;
- }
-
- function get_curl_redirect_url() {
- return $this->curl_redirect_url;
- }
-
function get_cached_avatar_image($avatar_image){
return $avatar_image;