X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=eaa7295e26cd8e565e8097410a749c2bf11c4df4;hb=16eec24a21d612664aae5b49a703d12fb835646a;hp=61f3562b588613c6a2b7fba28a6932c401841072;hpb=d20cdf09eafbc57c1b6dbcb78a5cdaa731ae876d;p=friendica.git diff --git a/index.php b/index.php index 61f3562b58..eaa7295e26 100644 --- a/index.php +++ b/index.php @@ -13,8 +13,10 @@ */ require_once('boot.php'); +require_once('object/BaseObject.php'); $a = new App; +BaseObject::set_app($a); /** * @@ -118,6 +120,12 @@ if(! x($_SESSION,'authenticated')) $a->init_pagehead(); +/** + * Build the page ending -- this is stuff that goes right before + * the closing tag + */ + +$a->init_page_end(); if(! x($_SESSION,'sysmsg'))