]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
Merge pull request #413 from fermionic/improve-page-loading
[friendica.git] / boot.php
index f06cbe84999b036cf3256c09ad13acb055a7f48d..34cc4093a8e4fd0a682ff32828fd5cc568e3b7f6 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -11,7 +11,7 @@ require_once('include/cache.php');
 require_once('library/Mobile_Detect/Mobile_Detect.php');
 
 define ( 'FRIENDICA_PLATFORM',     'Friendica');
-define ( 'FRIENDICA_VERSION',      '3.0.1413' );
+define ( 'FRIENDICA_VERSION',      '3.0.1415' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.23'    );
 define ( 'DB_UPDATE_VERSION',      1154      );
 
@@ -573,6 +573,13 @@ if(! class_exists('App')) {
                        ));
                }
 
+               function init_page_end() {
+                       $tpl = get_markup_template('end.tpl');
+                       $this->page['end'] = replace_macros($tpl,array(
+                               '$baseurl' => $this->get_baseurl() // FIXME for z_path!!!!
+                       ));
+               }
+
                function set_curl_code($code) {
                        $this->curl_code = $code;
                }