]> git.mxchange.org Git - friendica.git/commitdiff
add page_content_top hook
authorfriendica <info@friendica.com>
Mon, 2 Apr 2012 05:22:26 +0000 (22:22 -0700)
committerfriendica <info@friendica.com>
Mon, 2 Apr 2012 05:22:26 +0000 (22:22 -0700)
index.php

index 2faac1f2899c0cdd4fb9a2776687092da6b8dfbc..a51e33e2603d33e6579c7a4b600be811c84f1f9b 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -243,6 +243,8 @@ if (file_exists($theme_info_file)){
 if(! x($a->page,'content'))
        $a->page['content'] = '';
 
+if(! $install)
+       call_hooks('page_content_top',$a->page['content']);
 
 /**
  * Call module functions