]> git.mxchange.org Git - friendica.git/blobdiff - mod/home.php
.
[friendica.git] / mod / home.php
old mode 100755 (executable)
new mode 100644 (file)
index 0320c1b..76318b1
@@ -22,10 +22,13 @@ function home_content(&$a) {
 
        if(x($_SESSION,'theme'))
                unset($_SESSION['theme']);
+       if(x($_SESSION,'mobile-theme'))
+               unset($_SESSION['mobile-theme']);
 
-       $o .= '<h1>' . ((x($a->config,'sitename')) ? sprintf( t("Welcome to %s") ,$a->config['sitename']) : "" ) . '</h1>';
        if(file_exists('home.html'))
                $o .= file_get_contents('home.html');
+       else    $o .= '<h1>' . ((x($a->config,'sitename')) ? sprintf( t("Welcome to %s") ,$a->config['sitename']) : "" ) . '</h1>';
+
 
        $o .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1);