]> git.mxchange.org Git - friendica.git/blobdiff - index.php
Merge pull request #486 from cvogeley/master
[friendica.git] / index.php
index 61f3562b588613c6a2b7fba28a6932c401841072..eaa7295e26cd8e565e8097410a749c2bf11c4df4 100644 (file)
--- a/index.php
+++ b/index.php
  */
 
 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 </body> tag
+ */
+
+$a->init_page_end();
 
 
 if(! x($_SESSION,'sysmsg'))