]> git.mxchange.org Git - friendica.git/blobdiff - index.php
Merge branch 'master' of https://github.com/friendica/friendica
[friendica.git] / index.php
old mode 100755 (executable)
new mode 100644 (file)
index 2faac1f..e722796
--- a/index.php
+++ b/index.php
@@ -95,6 +95,7 @@ if((x($_SESSION,'language')) && ($_SESSION['language'] !== $lang)) {
 
 if(x($_GET,'zrl')) {
        $_SESSION['my_url'] = $_GET['zrl'];
+       $a->query_string = preg_replace('/[\?&]zrl=(.*?)([\?&]|$)/is','',$a->query_string);
 }
 
 /**
@@ -243,6 +244,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