missing session template_engine calls
This commit is contained in:
parent
4ab363ed71
commit
de0315396c
2 changed files with 174 additions and 162 deletions
14
boot.php
14
boot.php
|
|
@ -12,7 +12,7 @@ require_once('library/Mobile_Detect/Mobile_Detect.php');
|
|||
require_once('include/features.php');
|
||||
|
||||
define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
||||
define ( 'FRIENDICA_VERSION', '3.1.1581' );
|
||||
define ( 'FRIENDICA_VERSION', '3.1.1582' );
|
||||
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
|
||||
define ( 'DB_UPDATE_VERSION', 1157 );
|
||||
|
||||
|
|
@ -665,6 +665,14 @@ if(! class_exists('App')) {
|
|||
return $this->curl_headers;
|
||||
}
|
||||
|
||||
function get_template_engine() {
|
||||
return get_template_engine($this);
|
||||
}
|
||||
|
||||
function set_template_engine($engine = 'internal') {
|
||||
return set_template_engine($this,$engine);
|
||||
}
|
||||
|
||||
function get_cached_avatar_image($avatar_image){
|
||||
if($this->cached_profile_image[$avatar_image])
|
||||
return $this->cached_profile_image[$avatar_image];
|
||||
|
|
@ -1973,3 +1981,7 @@ function set_template_engine(&$a, $engine = 'internal') {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
function get_template_engine($a) {
|
||||
return $a->theme['template_engine'];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue